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
524
votes
19 answers

The developers of this app have not set up this app properly for Facebook Login?

I'm trying to make a login with Facebook available in my script. I've done everything, but when I attempt to login with a Facebook account I get this error from Facebook: Error App Not Setup: The developers of this app have not set up this app…
Kodr.F
  • 13,932
  • 13
  • 46
  • 91
414
votes
4 answers

Design for Facebook authentication in an iOS app that also accesses a secured web service

Goal: Allow a user to authentication with Facebook into an iOS application which requires access to a protected web service that I'm running. Assumptions: There is a native authentication (and registration) system in place for those users that opt…
TMC
  • 8,088
  • 12
  • 53
  • 72
379
votes
30 answers

FB OpenGraph og:image not pulling images (possibly https?)

Facebook cannot grasp my og:image files and I have tried every usual solution. I'm beginning to think it might have something to do with https://... I have checked http://developers.facebook.com/tools/debug and have zero warnings or errors. It is…
Cyprus106
  • 5,722
  • 6
  • 40
  • 48
373
votes
8 answers

Facebook Graph API v2.0+ - /me/friends returns empty, or only friends who also use my application

I am trying to get my friend name and ids with Graph API v2.0, but data returns empty: { "data": [ ] } When I was using v1.0, everything was OK with the following request: FBRequest* friendsRequest = [FBRequest…
321
votes
31 answers

Facebook OAuth "The domain of this URL isn't included in the app's domain"

Let me first start with saying I've searched for an answer to this question for quite some time... I'm trying to setup Facebook OAuth to work with my application that is being developed locally on my machine. Everything was working perfect with…
dangel
  • 7,238
  • 7
  • 48
  • 74
290
votes
37 answers

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

I am using Authlogic-Connect for third party logins. After running appropriate migrations, Twitter/Google/yahoo logins seem to work fine but the facebook login throws exception: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:…
Vikash
  • 2,919
  • 4
  • 17
  • 7
220
votes
18 answers

Facebook: Permanent Page Access Token?

I work on a project that has Facebook pages as one of its data sources. It imports some data from it periodically with no GUI involved. Then we use a web app to show the data we already have. Not all the information is public. This means I have to…
Vlasec
  • 5,500
  • 3
  • 27
  • 30
152
votes
17 answers

Facebook login message: "URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings."

Important notice: If you register for testing, go to your profile settings and to your interests add delete profile. Trying to login with Facebook to my website: I get the following error: URL Blocked: This redirect failed because the redirect URI…
Amir Rahbaran
  • 2,380
  • 2
  • 21
  • 28
137
votes
12 answers

How to get share counts using graph API

I can get the share count of an URL using PHP SDK and using the deprecated rest API, but didn't find a way to get the share counts of an URL using graph API. Is there any way to find out?
Ashish Pethkar
  • 1,558
  • 4
  • 12
  • 10
134
votes
16 answers

Get user profile picture by Id

I'm now working on a web application which is mostly based of facebook graph api. I hold some data about users - actually , the possible public data available - such as name and id. I also know that a profile picture is a part of the public data,…
user975343
131
votes
9 answers

Facebook API "This app is in development mode"

What does "development mode" mean for a facebook app? I find no exact explanation of what I can and can't do while in development mode and what's the relation with the "Not available to all users because your app is not live". Some people also refer…
dendini
  • 3,842
  • 9
  • 37
  • 74
124
votes
4 answers

Facebook Access Token for Pages

I have a Facebook Page that I want to get some things from it. First thing are feeds and from what I read they are public (no need for access_token). But I want to also get the events... and they aren't public and need the access_token. I don't want…
119
votes
5 answers

Long-lasting FB access-token for server to pull FB page info

I'm aware that there are many questions about Facebook access-tokens and the grief they cause, but despite much experimentation and reading many frustratingly vague blog articles (FB and otherwise), I'm still struggling to get a clear answer to my…
redhotvengeance
  • 27,446
  • 10
  • 49
  • 54
110
votes
10 answers

how to test open graph on localhost

I've done a lot of research and haven't found a definitive answer to this. Is there anyway to test the open graph on localhost? I don't haven any issues using the graph api on locahost. I've changed my website url in the app settings and have even…
DavidB
  • 2,064
  • 3
  • 17
  • 17
103
votes
5 answers

How to check if a user likes my Facebook Page or URL using Facebook's API

I think I'm going crazy. I can't get it to work. I simply want to check if a user has liked my page with javascript in an iFrame app. FB.api({ method: "pages.isFan", page_id: my_page_id, }, function(response) { …
Patrik
  • 2,207
  • 3
  • 30
  • 48
1
2 3
99 100