0
0
facebook api curl Status message
这是facebook 的api
http://developers.facebook.com/docs/reference/api/status/
出版
Requires the publish_stream permission.
To publish a status update, POST the message field to the feed/wall of the user whose status you want to update, i.e., http://graph.facebook.com/USER_ID/feed.
curl -F 'access_token=...' \
-F 'message=This is my status update' \
https://graph.facebook.com/me/feed
我通过代理服务器发的
curl -x 192.168.XX.XXX:XXX
-F 'access_token=2227470867|2.TvtbCtLU....'
-F 'message=This is my status update'
https://graph.facebook.com/me/feed
怎么不行呢?
------解决方案--------------------
这个方法需要publish_stream的权限。可能的token值获得的时候并没有获得这个权限。
这是facebook 的api
http://developers.facebook.com/docs/reference/api/status/
出版
Requires the publish_stream permission.
To publish a status update, POST the message field to the feed/wall of the user whose status you want to update, i.e., http://graph.facebook.com/USER_ID/feed.
curl -F 'access_token=...' \
-F 'message=This is my status update' \
https://graph.facebook.com/me/feed
我通过代理服务器发的
curl -x 192.168.XX.XXX:XXX
-F 'access_token=2227470867|2.TvtbCtLU....'
-F 'message=This is my status update'
https://graph.facebook.com/me/feed
怎么不行呢?
------解决方案--------------------
这个方法需要publish_stream的权限。可能的token值获得的时候并没有获得这个权限。
相关文章
使用Facebook PHP Business SDK发送测试事件
Facebook PHP Business SDK:发送测试事件的完整指南
使用Facebook PHP Business SDK发送测试事件教程
Facebook PHP Business SDK:发送测试事件指南
php工具如何使用GraphQL构建API_php工具数据查询语言的集成方案
相关标签:
本站声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门AI工具









