Comments (8)
其实文章数据是保存在多说的,所以验证也就是多说提供的啦。
from airpub.
但是据我所知,多说的同步文章不需要登录
from airpub.
不可能不需要登录。
也许是你登录了不知道而已,不然谁知道你是谁。
BTW: airpub有个40行的版本,部署起来非常简单,为什么不部署一个自己体验一下呢?
from airpub.
http://dev.duoshuo.com/docs/513fbb8ea1e7a29b3300007d
from airpub.
您贴出地址文档中的方式用到了 **short_name* 和 站点密钥 secret,文档中说到的不需要登录是指不需要普通登录的那个 session,这是只在响应请求时直接通过请求参数进行验证,响应完成后 session 也就没了,只是与我们传统意义上登录看起来不同而已。
from airpub.
我刚在我部署的 demo站点看了一下,发布时用到的是 http://xxx.duoshuo.com/api/threads/create.json ,需要用到我多说的 cookie。并不是您前面提到的请求参数的方法。
from airpub.
谢谢,不部署实验的原因是我是一个高中狗-.-
from airpub.
@YCF 感谢细心解释
如有对多说或者 Airpub 任何疑问,或希望能增设某些需要使用到的 API,欢迎发信给 @shen2 或我
from airpub.
Related Issues (20)
- 兼容性 / IE lte9 `FormData` 对象兼容性问题 HOT 5
- 关于 Airpub 使用者之间的互联
- 暴露 App_key 的后果很严重 HOT 1
- 什么时候能有自定义主题,有 HOW TO 吗? HOT 1
- 文章如何导出? HOT 3
- 建议将上传图片的 key 放到编辑器里,用的时候自己填 HOT 1
- 如何加入“关于我” HOT 2
- 删除文章没确认也没回滚功能 HOT 1
- 关于主题开发的一些问题 HOT 11
- 调用评论数目继续失败了 TUT HOT 3
- 唔,依然是关于 airpub-dependencies 这个文件 HOT 13
- 无法在 airpub 中使用多说评论小组件 HOT 20
- 怎样在Windows下编译生成 HOT 2
- bower install - No tag found that was able to satisfy [0.3.1]
- 如何在模板中加载自定义的js HOT 2
- 如何解决? HOT 1
- 编辑器 / 当前编辑光标与实际不一致
- 使用CDN配置版的Airpub如何新增文章? HOT 1
- 部署 / Windows7 按照安装步骤找不到指定路径 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airpub.