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
6
votes
1 answer

Sending app requests from server side

I am building a facebook app where users create invitations and invite their friends to join the event. It has 3 steps and second step has a custom friend selector where I let user select some of his friends that he/she would like to invite. In step…
BinnyG
  • 601
  • 9
  • 19
6
votes
6 answers

Check if logged in on ios facebook sdk 3.0

I am using iOS facebook SDK 3.0. How can i check if the user is already logged in? I tried the line below but it does not work properly. It sometimes returns NO although I am logged in. Any suggestions? if (FBSession.activeSession.isOpen == YES) { …
gsach
  • 5,715
  • 7
  • 27
  • 42
6
votes
1 answer

How do I get the photo URL when reading a user's posts and they Like a photo?

I'm reading my user's friend's wall posts with the Graph API "/637674567/posts". One of the data items is that he likes a photo. Is there a way to get a URL for the photo? When I get the information about the item, I get the following (below). …
Tim Hertz
  • 61
  • 4
6
votes
3 answers

How do I send sample emails to my Facebook test users?

A test user on Facebook has a default @tfbnw.net email address as the primary email address, in addition to a @facebook.com address which routes to their Facebook Messages inbox. I've tried to set the @facebook.com address as primary, since I wish…
Vighnesh
  • 708
  • 8
  • 25
6
votes
1 answer

Facebook API: Uploading photo to the wall?

I'm trying to upload a photo to my page's wall (and am doing so successfully) but not the way I'd like to. Here's how I'd like the photo to show up: http://screencast.com/t/wnRFBh1xlf However, here's how it actually shows up:…
user1146223
  • 209
  • 4
  • 14
6
votes
2 answers

Use Facebook app access_token to get age-restricted Page data through Graph API?

I have a Facebook application that users can add to their Facebook business Page(s) as a Page Tab app. It doesn't require any extended permissions for the user. I'm wondering if it's possible to use my app access_token and make calls against the…
6
votes
2 answers

Using the Facebook Graph API to search for an exact string

I want to use the Facebook Graph API to search for exact page matches to "My String". I tried https://graph.facebook.com/search?q=%22My%20String%22&type=page - but it returns pages that match either "String" or "My". How do I construct a search…
coffee-grinder
  • 26,940
  • 19
  • 56
  • 82
6
votes
1 answer

Facebook post impressions are null in FQL stream query

According to the FQL Stream documentation the following query is supposed to return impression counts when run by an authenticated page owner, yet it never does. We have the page owner authenticating directly in the graph api explorer with extended…
Yarin
  • 173,523
  • 149
  • 402
  • 512
6
votes
2 answers

Can't get the Facebook publish_action permission on iOS

I've spent hours on this and can't get it to work. Basically I just want a button in my app that will 'Like' itself on Facebook. I've created the app on dev Facebook and have an associated App Page. In my code I request these…
Darren
  • 10,182
  • 20
  • 95
  • 162
6
votes
1 answer

How to get a Facebook access token that has enough rights to get the posts in which you're tagged in?

The Facebook posts in which you're tagged in - using @Name - appear in your wall feed. A friend of mine posted a link and tagged me in it: On the Graph API documentation, when I click on my wall feed link (Ctrl + F: Profile feed), I'm able to see…
sp00m
  • 47,968
  • 31
  • 142
  • 252
6
votes
1 answer

You must select at least one Listed Platform to display

I am creating a simple app, I am getting this error when I try to save changes: "You must select at least one Listed Platform to display." please see the screen shot here: http://panstickers.com.au/webimages/fb_error.gif I tried to google, but…
6
votes
1 answer

Android Facebook chat example project

I found sample Facebook Chat Project for iOS here. also i got the facebook chat doc here Same way, Did any one know facebook chat example app or way to implement fb chat in android?
Ganapathy C
  • 5,989
  • 5
  • 42
  • 75
6
votes
2 answers

facebook open graph action only shows up in "recent activity", not as individual post

I followed the open graph object tutorial (https://developers.facebook.com/docs/opengraph/tutorial/) successfully and managed to post an open graph object on my timeline. However, the post only appeared under the "Recent Activities" box which also…
minovsky
  • 857
  • 1
  • 15
  • 28
6
votes
1 answer

Display Facebook image source by id

I am developing a Facebook application that stores into MySQL the photo[id]. I am using Facebook's Graph API to retrieve all of the user's photos and by a radio button the selected photo[id] is stored into mysql. The problem is, how should I…
cch
  • 3,336
  • 8
  • 33
  • 61
6
votes
1 answer

Client credentials to get TOKEN of Facebook

This page doesn't explains which client credentials we have to use. https://developers.facebook.com/docs/authentication/applications/ https://graph.facebook.com/oauth/access_token? client_id=YOUR_APP_ID &client_secret=YOUR_APP_SECRET …
NoWar
  • 36,338
  • 80
  • 323
  • 498