[英]Facebook api graph v2.4 get simple data
it is possible to get group post with graph v2.4 ? 有可能通过图表v2.4获得群组发布? cause i can't get anything with it , can't get post infos , can't comment .. nothing
因为我什么都收不到,无法得到帖子信息,无法发表评论..什么也没有
in the other versions everything works great 在其他版本中,一切正常
and unfortunately the access token generated from the apps can only work with v2.4 不幸的是,从应用程序生成的访问令牌只能与v2.4一起使用
i'm doing a cron job for that i have to use the app to refresh access token so i'm forced to use 2.4 , any solution for this ? 我正在为此做一项计划工作,因此我必须使用该应用程序刷新访问令牌,因此我被迫使用2.4,对此有任何解决方案?
here's what i tried to do : 这是我尝试做的事情:
https://developers.facebook.com/tools/explorer/?method=GET&path=id_of_my_group_post&version=v2.4
Getting this error : 收到此错误:
{
"error": {
"message": "No node specified",
"type": "GraphMethodException",
"code": 100
}
}
if i changed : &version=v2.4
to any other version it will work fine. 如果我将:
&version=v2.4
更改为任何其他版本,它将正常工作。
By the looks of your code snippet you are using Facebook Query Language (FQL). 根据代码片段的外观,您正在使用Facebook查询语言(FQL)。 However, you need to be aware that this framework is NOT supported in Graph API v2.4.
但是,您需要注意,Graph API v2.4不支持此框架。 In fact, Facebook announced it will be only supported up to version 2.0.
实际上,Facebook宣布将仅支持2.0版以下的版本。 See quote below from the Reference Page ...
请参阅参考页下面的报价...
Version 2.0 of the Facebook Platform API is the last version where FQL will be available.
Facebook Platform API的2.0版是FQL可用的最后一个版本。 Versions after 2.0 will not support FQL.
2.0之后的版本将不支持FQL。 Please migrate your applications to use Graph API instead of FQL.
请迁移您的应用程序以使用Graph API而不是FQL。 Please see our changelog for current version information.
请查看我们的更新日志以获取当前版本信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.