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

Getting user information from Facebook using graph API

I want to get basic user information from Facebook, but having some problem in the following code -(void)checkForAccessToken:(NSString *)urlString { NSError *error; NSRegularExpression *regex = [NSRegularExpression…
6
votes
2 answers

(#100) At least one reference object must be specified - Simple POST of OG action

I am using the PHP SDK to try and post a simple action using the Graph API. I have set up an object called 'Competition' and an action called 'Enter'. As such, a user enters a competition. My code is like so: try { $statusUpdate =…
Mike
  • 8,767
  • 8
  • 49
  • 103
6
votes
1 answer

Facebook PHP SDK Throwing an Uncatchable OAuthException

I'm attempting to post an open graph action to the Facebook Graph API but receiving an OAuth Exception (#3501) User is already associated to the . That's all well and good, I expect Facebook to throw that exception. I get some other…
Jim Rubenstein
  • 6,836
  • 4
  • 36
  • 54
6
votes
1 answer

Is it possible to change the text of the Facebook button like "okay, watch video" as like in SocialCam app?

I have seen "okay,watch Video" on social cam app but still did not get where to change it. Where can I change it?
Nick Ryl
  • 61
  • 1
6
votes
6 answers

How to send app requests to friends through Facebook Android SDK

Currently I'm developing an Android app for that I'm using the Facebook SDK. It's working fine for posting messages to the wall etc., but through this SDK I'm unable to send an app request to others. Can anyone help me out? here is my code…
Prachi
  • 2,559
  • 4
  • 25
  • 37
6
votes
1 answer

What is the meaning of __paging_token query parameter which is returned in the Facebook paging urls?

A typical facebook paging url looks like this: https://graph.facebook.com/353409121371688/feed?access_token=&since=1334318362&__paging_token=353409121371688_359606270751973&__previous=1&limit=25 Similarly, what is the meaning of the…
vedang
  • 3,111
  • 2
  • 24
  • 33
6
votes
3 answers

How to find Facebook group id by name

I have a Facebook application, which I would like to be able to read facebook group feeds. I have a user-input feed url, that looks like this: http://www.facebook.com/groups/music.sharing/ To access the feed though, I can only use its id, like this:…
zrgiu
  • 6,200
  • 1
  • 33
  • 35
6
votes
1 answer

Can not connect to Facebook with a curl request

I have created a simple Facebook application some weeks ago. I was getting user information through the Facebook API by asking permission from the users. But it stopped working last week out of nothing and I have been looking for an answer since…
retri
  • 91
  • 1
  • 3
  • 11
6
votes
1 answer

Linkedin/Facebook Api to get users comment on users out of network update

I am using linkedin api for getting network updates. And I am being able to fetch comments that a user made on either his update or on his 1st degree network updates. My Question is : Is there any possible way to get the comment a user do on out of…
5
votes
1 answer

Facebook C# SDK v6 - How to post graph action?

Looking for some help on posting an open graph action using v6 of the SDK. I have been scouring for a couple of days, and can't find any examples of how to do this. So far I have: protected void btnDyno_Click(object sender, EventArgs e) { …
crichavin
  • 4,672
  • 10
  • 50
  • 95
5
votes
1 answer

Getting my own data from facebook using C# WITHOUT an application

I've been googling for a couple of days, and I could not find any clue how to achieve that: I have a desktop application(C#) in which I'd like to be able to login to my facebook profile, and pull some data from it(e.g. profile information, wall…
user1307533
  • 169
  • 2
  • 3
  • 10
5
votes
1 answer

Facebook Open Graph API - action-type & object-type of another application (foursquare)

I am trying to retrieve a user's foursquare checkin data that is published using the open graph to Facebook. I am generally having trouble finding information (namespace, action-types and object-types) about an application that I do not own. So far…
gfte
  • 110
  • 1
  • 11
5
votes
1 answer

Implication of Facebook offline_access deprecation

I am just getting into adding Facebook opengraph into my app. I want to get certain graph attributes from the user, but it needs to be done continuously, even when the person is not on the site. Basically the app requires a background process that…
Vlad
  • 8,038
  • 14
  • 60
  • 92
5
votes
2 answers

problems with can_upload flag

We have written an application that posts text and images to Facebook. The application works almost as intended, but there remains a major problem. This problem seems to be specific to the use of Fan Page albums. We have created a FB account that…
5
votes
1 answer

What are the possible causes for Facebook's "Error validating application"?

My application uses Facebook's Graph API to pull user's information via /me, /wall, and so forth. Sometimes users run into the error: "error": { "message": "Error validating application.", "type": "OAuthException", …
Jason
  • 848
  • 6
  • 17