Giter VIP home page Giter VIP logo

Comments (8)

YCF avatar YCF commented on June 14, 2024

其实文章数据是保存在多说的,所以验证也就是多说提供的啦。

from airpub.

RingoTC avatar RingoTC commented on June 14, 2024

但是据我所知,多说的同步文章不需要登录

from airpub.

YCF avatar YCF commented on June 14, 2024

不可能不需要登录。
也许是你登录了不知道而已,不然谁知道你是谁。

BTW: airpub有个40行的版本,部署起来非常简单,为什么不部署一个自己体验一下呢?

from airpub.

RingoTC avatar RingoTC commented on June 14, 2024

http://dev.duoshuo.com/docs/513fbb8ea1e7a29b3300007d

from airpub.

YCF avatar YCF commented on June 14, 2024

您贴出地址文档中的方式用到了 **short_name* 和 站点密钥 secret,文档中说到的不需要登录是指不需要普通登录的那个 session,这是只在响应请求时直接通过请求参数进行验证,响应完成后 session 也就没了,只是与我们传统意义上登录看起来不同而已。

from airpub.

YCF avatar YCF commented on June 14, 2024

我刚在我部署的 demo站点看了一下,发布时用到的是 http://xxx.duoshuo.com/api/threads/create.json ,需要用到我多说的 cookie。并不是您前面提到的请求参数的方法。

from airpub.

RingoTC avatar RingoTC commented on June 14, 2024

谢谢,不部署实验的原因是我是一个高中狗-.-

from airpub.

guo-yu avatar guo-yu commented on June 14, 2024

@YCF 感谢细心解释

如有对多说或者 Airpub 任何疑问,或希望能增设某些需要使用到的 API,欢迎发信给 @shen2 或我

from airpub.

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.