Closed LetTTGACO closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
react-notion-x | ✅ Ready (Inspect) | Visit Preview | Apr 8, 2023 5:56pm |
react-notion-x-minimal-demo | ✅ Ready (Inspect) | Visit Preview | Apr 8, 2023 5:56pm |
Description
👏 Support using
notion internal integration token
If I don't want my notion page to be shared, but I still want to get it. in the current version, i can use
authToken
in the request cookie, but theauthToken
has a maximum expiration time of 180 days. In fact, there is another way, which is to usenotion internal integration token
in my-integrations page, I can generate ainternal integration token
, and then use it in the request header. so, i copyed @notionhq/client's code tonotion-client
Notion Test Page ID
notion page id is not needed here