【发布时间】:2011-10-30 18:08:33
【问题描述】:
我不想将 SDK 添加到我的项目中,但我想将消息发布到 FB 页面(公共页面,而不是 /me)。 据我了解,我需要这样做 smt
curl -F 'access_token=...' \
-F 'message=Check out this funny article' \
-F 'link=http://www.example.com/article.html' \
-F 'picture=http://www.example.com/article-thumbnail.jpg' \
-F 'name=Article Title' \
-F 'caption=Caption for the link' \
-F 'description=Longer description of the link' \
-F 'actions={"name": "View on Zombo", "link": "http://www.zombo.com"} \
-F 'privacy={"value": "ALL_FRIENDS"} \
https://graph.facebook.com/me/feed
我如何获得访问令牌密钥? 当我使用来自请求https://graph.facebook.com/oauth/access_token?grant_type=client_credentials&client_id=xxx&client_secret=yyy 的令牌时,它说它的令牌只能用于客户端信息(client_credintials)。 我需要另一个 grant_type 或另一个参数?
【问题讨论】: