简体   繁体   English

Facebook API图形v2.4获取简单数据

[英]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.

相关问题 如何使用新的Graph API(v2.4)获取Facebook页面的总喜欢数 - How to get Facebook page total likes number with the new Graph API (v2.4) 如何使用新的Facebook graph API v2.4从页面获取事件 - How to get events from a page with the new facebook graph api v2.4 使用graph API v2.4及更高版本获取Facebook新闻提要 - Get facebook news feed using graph api v2.4 and above Facebook iOS SDK - 在Graph API v2.4中获取好友列表 - Facebook iOS SDK - get friends list in Graph API v2.4 Facebook Graph API / me / Feed V2.4 vs V2.3 - Facebook Graph API /me/Feed V2.4 vs V2.3 在 FaceBook Graph API v2.4 中,如何在 JSON 提要中包含帖子的图片/图标? - In FaceBook Graph API v2.4, how can I include pictures/icons of the posts in the JSON feed? 我可以使用Facebook Graph API v2.4使用ID向朋友发送消息吗? - Can I send a message to a friend using the id, using using Facebook Graph API v2.4? 如何在Facebook API v2.4及更高版本上获取收件人ID(RestFB / Facebook4J) - How to get the recipient ID on Facebook API v2.4 and newer (RestFB/Facebook4J) 在Android中,Facebook API V2.4不返回电子邮件ID,而V2.3返回。 如何在V2.4中获取电子邮件ID? - In Android, Facebook API V2.4 is not returning email id whereas V2.3 is returning. How to get email id in V2.4? 如何从Facebook API v2.4获取生日,位置等? - How to get birthdate, location, etc from facebook api v2.4?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM