GithubHelp home page GithubHelp logo

Comments (5)

sunnoy avatar sunnoy commented on June 8, 2024

还有一个问题是 文章内有子页面的时候是不会渲染的是吧

from notionnext.

tangly1024 avatar tangly1024 commented on June 8, 2024

还有一个问题是 文章内有子页面的时候是不会渲染的是吧

不会被渲染。除非是一个引用页面,会被渲染成一个超链接。
image

from notionnext.

tangly1024 avatar tangly1024 commented on June 8, 2024

curl 'https://api.notion.com/v1/databases/xxxxx' -H 'Authorization: Bearer 'xxxx'' -H 'Notion-Version: 2022-02-22'

这个可以请求到

应该是ACCESS_TOKEN错误,检查一下配置
1.在Vercel的环境变量中正确配置:NOTION_ACCESS_TOKEN 变量。
2. ACCESS_TOKEN的获取方式:访问notion.so网站,在cookies中获取token_v2,通常是一个156位的数字。
image

  1. 注意:
    token并非notion接口文档中的 secret_Cs0XXXXXx...c 这种格式

from notionnext.

sunnoy avatar sunnoy commented on June 8, 2024

我试一下 但是最版构建报错了

from notionnext.

tangly1024 avatar tangly1024 commented on June 8, 2024

可能是新版本合并时代码冲突了,现在构建情况如何啦

from notionnext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.