Questions tagged [facebook-graph-api]

Facebook Graph API is a structured API for fetching objects and the connections between them from Facebook's social graph

The Facebook Graph API is provided by the Facebook platform to interact with Facebook's social graph. It's a low-level HTTP-based API that you can use to query data, post new stories, manage ads, upload photos and a variety of other tasks that an app might need to do.

This includes Facebook users, pages, and other objects, as well as the connections between them such as links, photos, or notes.

It provides a structured view of the Facebook "social graph" and represents objects in the graph (e.g. people, photos, events, pages) and the connections between those objects (e.g. likes, uploaded, is tagged in).

Tool Graph API explorer - The easiest way to understand the Graph API is to use it with the Graph API Explorer, a low-level tool you can use to query, add and remove data. It's a very handy resource to have at your fingertips while you integrate with Facebook.

You can ask questions with tag which requires Facebook Graph API calls for above objects only with different SDK's.

Resources

34984 questions
5
votes
2 answers

Facebook api rate limit - server side or client side is better?

i'm developping a web-based application that implement facebook login process to identify user and ask for their info using facebook graph API. The question is which is better between server side and client side implementation in term of api rate…
Hung Linh
  • 51
  • 1
  • 4
5
votes
3 answers

Is it possible to access Open Graph Insights via Graph API or other programmatic means?

I'm able to access FQL Insights metrics (http://developers.facebook.com/docs/reference/fql/insights/) such as "application_active_users" for my App via the Graph API; however, the Open Graph Insights metrics…
5
votes
1 answer

Group feed lacks polls

I'm fetching a group's feed https://graph.facebook.com/my_group/feed, but it completely ommits polls and links posted in group. Is there a way to get polls along with other posts?
5
votes
2 answers

Is facebook insights using graph API working right now?

I would like to use graph API to get page and app insights without Facebook JS SDK. I tried the following: I created an app with user A I log in to that app using the following url with user B (user B is admin of pages and…
Attila Nyers
  • 1,183
  • 2
  • 13
  • 22
5
votes
3 answers

Post to facebook page wall as a page

I want to post to facebook page wall as a page using PHP. I've got access_token by below links.…
akashic
  • 215
  • 4
  • 6
5
votes
1 answer

How do you get a new access token after expiration without a page reload?

First, I want to note that I do not want to request the offline_access extended permission. It's there for a reason but this isn't it. I am creating an html5 app using the Facebook Javascript API. The user is on a single page for a long time playing…
Brad Dwyer
  • 6,305
  • 8
  • 48
  • 68
5
votes
1 answer

Facebook Post with picture hosted on public CDN

Facebook is seemingly blocking any image that I reference which is backed by a CDN. Is this true? Is there a way to get around this? Is there documentation out there that states what you can and can not reference in the "Picture" argument of a…
Nix
  • 57,072
  • 29
  • 149
  • 198
5
votes
2 answers

Deprecated offline_access on facebook with RoR

We have a problem in our RoR app. We are using a facebook authentication with omniauth, and searching the user friends with Koala. But lately, when we try to show a friend photo, we got this error: Koala::Facebook::APIError in Homes#show Showing…
Dagosi
  • 948
  • 2
  • 11
  • 25
5
votes
1 answer

Facebook Login for Websites: Best practice to handle user Facebook logout?

I'm writing a webapp where users will need to login with Facebook (a Facebookless login does not make sense in the context of the app). Ideally, after their initial visit, when a user visits /index, my webapp sees a cookie it deposited earlier, and…
KJ Tsanaktsidis
  • 1,255
  • 1
  • 17
  • 28
5
votes
3 answers

Add data-scope variables to a facebook login button

All, I'm using the code that facebook provides but here is what I'm using:
user1048676
  • 9,756
  • 26
  • 83
  • 120
5
votes
1 answer

How to get message thread URL knowing the thread id?

There is How can I construct a link to view a message on facebook.com if I have the message id question, but it is unanswered. What if I got the id of the thread using /me/inbox API endpoint and need to redirect user to the Facebook itself showing…
vian
  • 811
  • 2
  • 12
  • 27
5
votes
1 answer

Facebook notification from my app appears and disappears

I have a problem since a several days now. Facebook notifications from my app (the red number one) appears and disappears. This functioning properly at first, but then but then stopped working. I tried by entering in the Website url ->…
kobayashi
  • 327
  • 1
  • 4
  • 12
5
votes
0 answers

facebook graph api using limit and since

I am trying to use the graph api with limit and since I think the highest limit is 5000, so I am using that ( I want to make the fewest calls). I am also trying to look 1 month back. So I try: https://graph.facebook.com/[ID of…
Joelio
  • 4,621
  • 6
  • 44
  • 80
5
votes
2 answers

Accessing a public Facebook profile in UIWebView (with access_token)

Problem: Viewing a public Facebook profile without being authenticated into Facebook shows a bare-bones profile. I have the users access_token. Is there any way to use the access_token to show the user a profile as if they were authenticated, or…
lennysan
  • 1,330
  • 2
  • 13
  • 16
5
votes
2 answers

How to trace the cause of a 500 internal server error?

I'm trying to do the following using FB's official PHP SDK: $facebook->api( '/me/feed', 'POST', array( 'link' => 'test', 'message' => 'test' ) ) Unfortunately, the server (not facebook!) returns a 500 error. The request goes through, the…
Lior
  • 5,454
  • 8
  • 30
  • 38
1 2 3
99
100