facebook-graph-api

Fetch location or coordinates specfic posts using facebook search api

不打扰是莪最后的温柔 提交于 2020-02-02 13:23:22
问题 Is there are way to fetch location/coordinate specific public posts using the facebook search api ( https://graph.facebook.com/search/?q=KEYWORD&type=post ... )? I want this to be a general search query, without any user authorization. I tried using https://graph.facebook.com/search?type=location&center=37.76,-122.427&distance=1000&access_token=... , but this requires access_token and returns objects(not posts) posted only by friends of the user whose access token is used for querying. I also

Posting to a facebook page from a website using curl

女生的网名这么多〃 提交于 2020-02-01 08:10:11
问题 I am trying to build a script which posts data to a facebook page when a button is submitted. I created a non expiring page access token but I'm stuck on how to build the url. Several tests in the graph api explorer keep giving me: { "error": { "message": "(#200) The user hasn't authorized the application to perform this action", "type": "OAuthException", "code": 200, "fbtrace_id": "BYNmxVAlESA" } } I tried something like: 1745650152362669/feed?message=message&access_token=myaccesstoken and

Facebook Graph and PHP API

时间秒杀一切 提交于 2020-01-31 19:19:50
问题 I've been working at this for a few hours, but the poor documentation is of no help. All I want to do is grab the data that exists at https://graph.facebook.com/cocacola/ as an example, and I cant even do that. I'm using the latest php API from facebook. This is my code, which returns nothing: <?php require '../src/facebook.php'; // Create our Application instance. $facebook = new Facebook(array( 'appId' => '254752073152', 'secret' => '904270b68a2cc3d54485323652da4d14', 'cookie' => true, ));

Facebook Graph and PHP API

三世轮回 提交于 2020-01-31 19:18:19
问题 I've been working at this for a few hours, but the poor documentation is of no help. All I want to do is grab the data that exists at https://graph.facebook.com/cocacola/ as an example, and I cant even do that. I'm using the latest php API from facebook. This is my code, which returns nothing: <?php require '../src/facebook.php'; // Create our Application instance. $facebook = new Facebook(array( 'appId' => '254752073152', 'secret' => '904270b68a2cc3d54485323652da4d14', 'cookie' => true, ));

Facebook post impressions are null in FQL stream query

…衆ロ難τιáo~ 提交于 2020-01-31 10:39:20
问题 According to the FQL Stream documentation the following query is supposed to return impression counts when run by an authenticated page owner, yet it never does. We have the page owner authenticating directly in the graph api explorer with extended permissions (read_stream, read_insights), but the impression counts are always null. Is anyone able to get this working? SELECT post_id, actor_id, message, impressions FROM stream WHERE actor_id = {owned_page} and source_id = {owned_page} 回答1: I

Facebook post impressions are null in FQL stream query

萝らか妹 提交于 2020-01-31 10:38:22
问题 According to the FQL Stream documentation the following query is supposed to return impression counts when run by an authenticated page owner, yet it never does. We have the page owner authenticating directly in the graph api explorer with extended permissions (read_stream, read_insights), but the impression counts are always null. Is anyone able to get this working? SELECT post_id, actor_id, message, impressions FROM stream WHERE actor_id = {owned_page} and source_id = {owned_page} 回答1: I

All types of Ads in Facebook Ad Library API?

送分小仙女□ 提交于 2020-01-30 13:14:09
问题 I try to use Facebook Ad Library API to search and find ads from particular page ids, but it is restricted to political ads only?! Yes, this is also mentioned in the docs, but I have found several pages saying that the Facebook Ad Library API is now (03/2019) open to all kinds of ads not just political ones. Any ideas? Thanks for your help! 回答1: https://www.facebook.com/business/help/2405092116183307?id=288762101909005 All active ads a Page is running across Facebook Products are visible in

Retrieve data of a facebook page with graph API

↘锁芯ラ 提交于 2020-01-26 02:19:27
问题 I used (in 2012) to code with FQL and I was able to make some features such as FQL query to fetch all data of a facebook page Actually, FB migrate to graph API. My question is : Is it possible to retrieve public data of a page (or person) with graph API, even if I'm not a fan of that page (or not a friend ) 回答1: Yes, everything that you want to do is quite possible with the Graph API. Unless the Page / Group is private, then you will be able to fetch their public data without having to like

Conflicting limits about maximum number of calls to Facebook API?

断了今生、忘了曾经 提交于 2020-01-25 11:01:10
问题 On https://developers.facebook.com/policy/#features they say an app has an upper limit of 100M calls per day. However, the error code: 613 - FQL_EC_RATE_LIMIT_EXCEEDED - Calls to stream have exceeded the rate of 100 calls per 600 seconds specifies that you can averagely perform up to 1 call per 6 seconds. Those two limits conflicts. The FQL is supposed to be part of the API, right? If not, then you can perform up to 100000000 calls per day to the API but only up to 14400 FQL queries. But if

Is it possible retrieve follower list from new instagram-graph-api?

一个人想着一个人 提交于 2020-01-25 10:10:46
问题 is it possible retrieve instagram follower list from new instagram graph api? It seen that instagram API are deprecated. do you know another method to retrieve instagram follower? 回答1: There is no API to get the list of followers for Instagram anymore. This is for privacy reasons, users who did not specifically authorize your App should not show up anywhere in any API call. Everything you CAN do with the API is listed here: https://developers.facebook.com/docs/instagram-api/reference 来源: