使用Apigee学习reddit JSON API.我如何提交故事?

dot*_*dot 5 api json reddit

根据https://github.com/reddit/reddit/wiki/API我需要:

"将以下内容发布到http://www.reddit.com/api/submit:

uh=f0f0f0f0&kind=link&url=yourlink.com&sr=funny
&title=omg-look-at-this&id%23newlink&r=funny&renderstyle=html
Run Code Online (Sandbox Code Playgroud)

我相信你是这样登录后的modhash:

http://www.reddit.com/api/login/joe?user=joe&passwd=passw0rd&api_type=json
Run Code Online (Sandbox Code Playgroud)

但每当我尝试提交时,我都会这样:

https://apigee.com/console/apigee-console-snapshots-1317445200000_ba798aaf-165d-40c3-8aec-17673087f9ff/rendersnapshotview

任何帮助将不胜感激.

Phi*_*ham 1

当您发布提交内容时,请确保您将reddit_session他们发送/设置的 cookie 与登录响应一起发回。您需要这个以及/ 。uhmodhash