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
30
votes
2 answers

How do I/Can I create a Facebook app for my company without using my personal Facebook account?

My question is similar to this, but I'm writing from a developer's perspective rather than the company's. I prefer to keep my personal and professional lives separate, and thus would like to be able to create Facebook apps not tied to my personal FB…
user770215
  • 753
  • 1
  • 6
  • 11
30
votes
6 answers

Unsupported get request in Facebook Graph API

For some reason my https://graph.facebook.com/210155825774263 returns an error : { "error": { "message": "Unsupported get request.", "type": "GraphMethodException", "code": 100 } } I tried other pages and IDs and it returns…
EPQRS
  • 1,093
  • 2
  • 13
  • 17
30
votes
8 answers

How can I force a facebook access token to expire?

I'm doing some testing in the wake of offline_access's expiration. I think that since all interactions my app makes with Facebook are done via my servers and are user initiated by user activity at several application end points (phone apps,…
Sloloem
  • 1,587
  • 2
  • 15
  • 37
29
votes
9 answers

How to setup SSL on a local django server to test a facebook app?

I've configured my local machine's HOSTS configuration to access the local server ( @ 127.0.0.1 ) whenever I hit http://www.mydomain.com on the browser. And I was using this to interact with facebook's graph api to build my app. But now facebook…
Sussagittikasusa
  • 2,525
  • 9
  • 33
  • 47
29
votes
5 answers

facebook graph api search rules

Does anyone have any idea what boolean logic is acceptable on the facebook graph api? They have the worst documentation, forums, assistance known to the developer world. I tried using OR and it does not seem to be working. AND seems to be implied…
vbNewbie
  • 3,291
  • 15
  • 71
  • 155
29
votes
2 answers

How to access Instagram feed of any user with new Graph API?

Facebook recently introduced Instagram Graph API, which allows to fetch data from Instagram page that is connected to your Facebook company page, instagram.com/developers states: The Instagram Graph API is Now Available to All Developers. For…
Marvin3
  • 5,741
  • 8
  • 37
  • 45
29
votes
5 answers

How to send a Facebook notification through their API

I asked this on the Facebook Developers Forum with no responses.. How do I send notifications to users so they show up in the Notifications globe icon tab on the top left of a user's Facebook page? Some applications I use have their notifications…
at.
  • 50,922
  • 104
  • 292
  • 461
29
votes
7 answers

Angular 4 - Update Meta tags dynamically for Facebook (Open graph)

How do we add/update meta tags dynamically so that they get picked by Facebook/Whatsapp share dialog? I upgraded my angular 2 application to angular 4 in order to use Meta service to add/update meta tags dynamically once we get the data in component…
Ali Baig
  • 3,819
  • 4
  • 34
  • 47
29
votes
1 answer

Is it possible to pass Facebook Graph API access token through request header?

I am testing Facebook Graph API v2.3 with Postman. While it is possible to get response by putting access token in query string as follow: https://graph.facebook.com/v2.3/me?access_token=my_access_token I am wondering whether it's possible to do…
kavare
  • 1,786
  • 2
  • 17
  • 26
29
votes
12 answers

FB debugger says that my og:image should be larger, even though it is large

Check out this result of debugging an article using Facebook debugger. It comes up with this warning: og:image should be larger. Provided og:image is not big enough. Please use an image that's at least 200x200 and preferably 1500x1500. But if you…
Chris
  • 1,597
  • 4
  • 18
  • 26
28
votes
6 answers

Object with ID '203618703567212' does not exist, cannot be loaded due to missing permissions, or does not support this operation

After the facebook have updated the Graph API and it's request I am facing this error Unsupported get request. Object with ID '203618703567212' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please…
Ahtisham Ashraf
  • 684
  • 1
  • 6
  • 12
28
votes
5 answers

how to set a facebook profile picture using the graph api

Is there any way to change the user's profile picture using the graph api? I know you can't with the rest api (reference), but I could not find anything in the new graph api.
Mauro Zadunaisky
  • 798
  • 1
  • 11
  • 21
28
votes
10 answers

Facebook iOS SDK and swift: how get user's profile picture

i have integrated Facebook sdk in Xcode 6 (with swift). During the login i request the public_profile permission: FBSession.openActiveSessionWithReadPermissions(["public_profile"], allowLoginUI: true, completionHandler: { ... ... So i request the…
Tom
  • 4,007
  • 24
  • 69
  • 105
28
votes
2 answers

Facebook Graph API Group Files

Facebook offers a new functionality for groups. Now it is possible to post also files within a group. (http://mashable.com/2012/05/10/facebook-groups-3/) I am trying to query now the files using the Graph API but on the documentation site there are…
kafbuddy
  • 304
  • 2
  • 5
28
votes
5 answers

How to clear Facebook's image cache

I have a Facebook application that's created several wall-posts on behalf of my users. The image in the wall posts is cached by Facebook's servers. I've replaced the original image on my server and I would like to clear Facebook's image cache so all…
Casey Flynn
  • 13,654
  • 23
  • 103
  • 194