在使用toutiao分享开发者头条之前,需要先设置好Cookie中的 permanent_user_id
的值。
每个浏览器查看 Cookie 值的方法都不一样,具体可以百度。
以Firefox为例:
- 在Firefox上访问 https://toutiao.io/ 并登录
- 按
Shift+Ctrl+i
打开 Web Developer 面板 - 选择
Storage
标签 - 在左侧面板选择
Cookies
->https://toutiao.io
就能查看相应的值了
设置 toutiao-user-id
变量
- 执行
M-x toutiao-post
- 以此输入分享文章的URL和标题
- 选择分享的独家号