facebook-graph-api

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

不羁岁月 提交于 2020-01-25 10:09:21
问题 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 来源:

Getuser() method of Facebook PHP SDK always returns 0

血红的双手。 提交于 2020-01-25 08:50:09
问题 Problem: I am not able to get user id from Facebook's getuser() method. Description: I have created a Facebook app. I have given site URL as "http://localhost:8088/fb/" After saving the changes. Now I want to get user id so that I can access user's information on Facebook. Below is my code: <?php require 'facebook.php'; $facebook = new Facebook(array( 'appId' => 'xxxxxxxxxxx', 'secret' => 'xxxxxxxxxxxxxxxxxx', )); $user = $facebook->getUser(); echo $user; if($user) { $logoutUrl = $facebook-

FB.AppRequest does not work

帅比萌擦擦* 提交于 2020-01-25 08:10:06
问题 I am trying to send App Requests with Facebook SDK on Unity. Everything is alright until I press 'send'. It also returns a success but nothing happens in my friends' facebook :S FB.AppRequest(message, null, null, null, null, null, title, (result) => { Debug.Log(result.RawResult); } ); As you can see, I am able to show the friends list and select the ones who will receive the request. After pressing send, it returns a success(I have put the Xs intentionally). However, nothing happens on my

Get FQL real time updates

穿精又带淫゛_ 提交于 2020-01-25 04:40:05
问题 I am using FQL to query . I want to repeat the query every 15 mins and see if any change occurs. So ideally i want to do a FQL query, wait 15 mins do same query again etc... Is there any way i can use Push notifications to do it? I read about real time facebook api, but I am not sure it can be implemented with FQL.. Thanks! 回答1: No, the Real-time Updates are only for graph objects, and according to the documentation only for the User, Permissions and Page objects (and then not to all fields

youtube instead of pic on facebook feed thru ios SDK

牧云@^-^@ 提交于 2020-01-25 01:58:06
问题 is it possible to modify the follow standard code for posting a facebook feed thru ios to have a youtube clip instead of a picture? Just like one posts a youtube link on his/her wall through the browser where you can click and view the video without leaving the page. I would still like to keep a separate link that is not the youtube video link if possible though. Tried searching but seems like not much questions asked on posting youtube video through the SDK... Thanks much in advance!

Facebook PHP SDK: Unknown SSL protocol error

我与影子孤独终老i 提交于 2020-01-24 21:51:12
问题 I have a PHP script who make "get" requests to the Facebook API Graph with the Facebook SDK for PHP . For a few days, my script fails (50% of the time, or more), I've got this error: Unknown SSL protocol error in connection to graph.facebook.com:443 and I don't know why because: I didn't modify the script. I didn't change anything on the server. Moreover, my script runs on 2 servers and the problem occurs on both. Here are the details: #0 /var/www/oie/vendor/facebook/php-sdk-v4/src/Facebook

Javascript: Upload image from Canvas to FB via Graph API

谁说胖子不能爱 提交于 2020-01-24 08:28:27
问题 I am composing an image in a canvas, I get the base64 image data by using canvas.toDataURL('png') and trimming the additional information. var dataUrl = canvas.toDataURL('png'); var escapedBase64Data = dataUrl.replace("data:image/png;base64,",""); After that I try to post to facebook using: FB.api('/me/photos', 'post', { source:data}); Photos (https://developers.facebook.com/docs/reference/api/user/) has a source property. This is where you will place the data content ( multipart/form-data )

how to get a list of all user friends?

点点圈 提交于 2020-01-24 08:14:03
问题 I am building an app using Facebook Graph API v.20 . The first thing it needs to do is to export the complete list of friends from the user ( ID, name and picture ) to a CSV file. Is this possible? 回答1: Short answer: No. The Graph API v2.0 reference documentation implies that your app will only be able to access (through the API, at least) those of the user's friends who have themselves used your app and allowed your app to access their own friends list: Permissions A user access token with

how to get a list of all user friends?

爷,独闯天下 提交于 2020-01-24 08:13:08
问题 I am building an app using Facebook Graph API v.20 . The first thing it needs to do is to export the complete list of friends from the user ( ID, name and picture ) to a CSV file. Is this possible? 回答1: Short answer: No. The Graph API v2.0 reference documentation implies that your app will only be able to access (through the API, at least) those of the user's friends who have themselves used your app and allowed your app to access their own friends list: Permissions A user access token with

Accessing full size (851x315) timeline cover photo via graph api

不问归期 提交于 2020-01-24 05:25:31
问题 I notice that when I access the timeline cover photo URL via the Graph API (using PHP) the photo returned is 720x266 instead of 851x315. Either using, <graph api url>/userId/?field=cover or by accessing the url in ['cover']['source'] of the json array returned when accessing <graph api url>/userID I've been unable to find a way to retrieve the full size cover photo. Using firebug I can see Facebook load the full size 851x315 image, the only difference in the URL seems to be that the one