hol*_*den 8 facebook facebook-graph-api koala koala-gem
根据facebook,截至2014年4月30日,该create_event方法已不再可用,我认为这意味着无法发布事件?
https://developers.facebook.com/docs/apps/changelog
create_event不再可用.
是否仍然可以使用v1.0?(将于2015年4月30日逐步淘汰).我找不到任何示例,我想代表facebook页面发布活动.这还有可能吗?
https://developers.facebook.com/docs/graph-api/reference/v1.0/page/events
当我尝试它时,我得到折旧警告和冒充使用令牌的页面,但是当我使用我的个人令牌时它也失败了.可能是因为我没有create_event权限(尽管请求它,它不会显示在facebook令牌调试器中)
Deprecation warning: The REST API is now deprecated; please use the equivalent Graph API methods instead. See http://developers.facebook.com/blog/post/616/.
=> {"error_code"=>190,
"error_msg"=>"Impersonated access tokens can only be used with the Graph API",
Run Code Online (Sandbox Code Playgroud)
权限:
[{"permission"=>"installed", "status"=>"granted"},
{"permission"=>"public_profile", "status"=>"granted"},
{"permission"=>"manage_pages", "status"=>"granted"},
{"permission"=>"publish_actions", "status"=>"granted"}]
Run Code Online (Sandbox Code Playgroud)
任何作为 1.0 应用程序处于活动状态的应用程序仍然能够创建事件,直到 v1.0 被删除。如果您只是有一个 1.0 应用程序闲置而不执行任何操作,那么它可能会失去该功能。
活动应用程序示例:iOS 版 Facebook 仍然可以创建事件。
| 归档时间: |
|
| 查看次数: |
3123 次 |
| 最近记录: |