Questions tagged [facebook-graph-api-v2.3]

Facebook Graph API v2.3 is now available to use, adding new login permissions, a new debug mode for developers and updates to Real-time Updates. Along with it, more APIs are being depreciated towards the end of June 2015.

37 questions
36
votes
3 answers

Error Invalid Scopes: offline_access, publish_stream, when I try to connect with Facebook API

I got this error when I try to connect with Facebook API Invalid Scopes: offline_access, publish_stream. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid…
7
votes
1 answer

An active access token must be used to query information about the current user & OAuthException [code] => 2500

When user access token , I am getting error like . Please help me immediately. How can I solve this,tell me stdClass Object ( [error] => stdClass Object ( [message] => An active access token must be used to query information about the current…
Zisu
  • 497
  • 2
  • 6
  • 25
4
votes
2 answers

How to parse next page of Facebook (SDK 4.0) Graph response in android?

I am fetching the list of friends who use the my android application and show them in listview. The response we get from the call: GraphRequestAsyncTask graphRequest = new GraphRequest( AccessToken.getCurrentAccessToken(), …
3
votes
1 answer

How to get all of the Facebook Graph API page feed?

Using Python: from facepy import GraphAPI key = 'My Access_Token' a = GraphAPI(key) response = a.get('Page_ID/posts') print response If I run this code, It shows me data in JSON format! And Limited Data. I want to get Years of feeds from my…
Shiv Shankar
  • 1,007
  • 2
  • 8
  • 13
3
votes
2 answers

Facebook PHP SDK Version 5.0.0 like a post

I am trying to like a Facebook post posted from an account. I have the oauth token of the account but i cant figure out how to like a post from my php code. I have a facebook app and also have the app id and app secret for my facebook app. I want to…
3
votes
2 answers

How can I get tagged_places of my friends?

When I submit a get on Graph API Explorer, like that: me?fields=tagged_places Works good and return the data of my 'tagged places' to me. But when I try to get 'tagged places' of my friends, I got this error message: "error": { …
3
votes
2 answers

how to read public timeline feed in facebook?

I need to read timeline feed in facebook public pages. I have used syntax to get the feed from timeline: https://graph.facebook.com/v2.3/DoveIndia?fields=id,name,picture,feed It works well and returns the feed,when facebook page not have "Posts To…
Sameek Mishra
  • 9,174
  • 31
  • 92
  • 118
3
votes
2 answers

Can we get the share count of a post in fb using graph api v2.3?

I need to get the shares count of a particular post in fb uisng graph api. I could'nt find any method to do so. I have followed the link below. https://developers.facebook.com/docs/graph-api/reference/v2.3/object/sharedposts It returns the data of…
2
votes
2 answers

how to post on instagram using graph api in php

I am trying to post on instagram using graph api but i am not able to post. Content Publishing The Content Publishing API is a subset of Instagram Graph API endpoints that allow you to publish IG Media objects on Instagram Business IG…
2
votes
1 answer

Unable to post to FB page using Graph API 2.3

I have spent ages trying to get this to work and spent just as long searching forums (including this one) for an answer. Unfortuntely, I can't seem to find any solution to this problem..... I have created a FB app which is used amongst other things…
2
votes
1 answer

Is there a way to add multiple valid OAuth Redirect Uri's to your Facebook App programmatically?

I'm creating a WordPress plugin which lets the user connect his/her Facebook account, and in my Facebook App settings, I have specified the Redirect URI, but when the plugin is installed on other domains, I get an error that "Given URL is not…
2
votes
2 answers

"link Clicks" of a Facebook Post and how to get its value using FB Graph API?

I have a requirement to pull the 'link clicks' count of a FB page post? What Exactly comes under the 'Link Clicks' count? Is it the number of clicks of the link shared in the FB post or is it something else? What insight metric should we use to get…
1
vote
2 answers

get list all groups facebook graph api v2.5 or how to use the v2.3?

well this is my get public GraphResponse Get(String query,Bundle parameters) { final GraphResponse[] respuesta = new GraphResponse[1]; /* make the API call */ new GraphRequest( …
1
vote
1 answer

FB Graph Api Search, convert FQL query to fetch nearby pages?

I've used the old Facebook SDK where I could do FQL-queries. I want to fetch all nearby places that also has a page attached. And with those results, I want as many columns as possible. I want to rewrite this function so I can do the same but with…
1
vote
0 answers

facebook-api story album ads

In order to make advertise story album posts using post engagement ads via API, we made an album (https://developers.facebook.com/docs/graph-api/reference/v2.3/album), added photos to that album…
1
2 3