Retrieve Facebook User's Timeline Data - facebook-graph-api

To elaborate the subject line, I want to create an FB app or FB Connect that will fetch a user's historical data which he/she shared on FB; eg: fetch with whom user have made friendship in particular year or what statuses user have shared in a particular year. In short, retrieving users activities since he/she joined the FB till current date.
This is similar to what we can see in our timeline.
Is this possible to grab those info using graph api? I spend a day in searching a help for this but didn't found any.
Please correct me if I'm wrong. Very new to the Timeline and Open Graph thing.
Any help/suggestion would surely be appreciated.
I'm using PhP as the coding language.
Thanks in advance,
Javed.

should be possible but via the open graph api, see http://developers.facebook.com/docs/opengraph/
Graph Api != Open Graph

Related

Facebook Graph API explorer does not display installed app data?

I used to fetch installed app data using Facebook Graph API explorer https://developers.facebook.com/tools/explorer
For last few months i did not work on Facebook Graph API explorer.
i have posted one question after doing some fetching app insight information as here: Is it possible to fetch actions Feed, Ticker, Timeline Impressions and other values for Facebook Open Graph apps from FB insights programmatically on Sept,2012.
Last two days i am trying to fetch the app information using the Facebook Graph API explorer, but it does not give me any detail info.
I can only fetch app basic info, but nothing else.
(Please see attached figure 1)!
For example, i am trying to fetch "application_active_users_city" using the insights parameters, but it does not give me any information!??
(Please see attached figure 2)!
Can anyone please tell me where is the mistake i am doing?
Advance thanks to all.

How to get general data from facebook graph api

I'm looking into the facebook graph api. I understand that I can retrieve information about a facebook web page by making a get with the current id. It's also clear that after retrieving a access token I can post on the logged in users wall and do other operations.
But what if I want more general data? Can I, for example, get how many swedish user who have used the word "Obama" in their status update the last week?
I don't think that the current search API can be that specific. You can find everything about the search API in this document.

How to get Tour Dates information from a band page through API

I'm working on a web site for a friend's band and I want to pull information from their facebook band page. Specifically I am looking to get tour dates. I am a beginner with the facebook APIs, but I did read through all of the documentation and I couldn't find anything on the tour date information through the graph API. I can pull basic info from them, but I can't seem to figure out how to get tour dates. Any help is much appreciated. Thank you!
The Tour Dates are provided by the Bandsintown Facebook app (ID: 123966167614127). As such, you need to use their API to access the dates.
Fortunately, Bandsintown.com does offer a nice API. Check it out at: http://www.bandsintown.com/api/requests
The above was just to obtain the dates as you see in the 'Tour Dates' link for most popular bands.
If the band uses Facebook events along with the app, you could just do a simple call to something like https://developers.facebook.com/tools/explorer/?method=GET&path=coldplay%2Fevents
If the band is using the Events functionality on Facebook you can use that to retrieve a list of all tour dates. Check the Events API page in the Facebook documentation:
http://developers.facebook.com/docs/reference/api/event/
And look at their example of what this looks like here:
http://developers.facebook.com/tools/explorer/?method=GET&path=331218348435

How to get "x is friends with x" in me/home using Graph API & Javascript SDk

is there a way to do this?
Using the me/home json feed, it shows up as a person and just one image of the person they have friended, even if they have friended several.
Is there a way to pull in all the information?
The most efficient way to achieve this is by using the Graph API Real Time Updates, there's no need to pull the home feed. You should be able to subscribe to the "friends" connection of the "user" object you need so your "callback server URL" will be hit by our servers when that user gets new friends (POST Request).
Note that you will only be able to retrieve the user's new friends public information unless they have previously authorized your App.
Please see further documentation at:
https://developers.facebook.com/docs/reference/api/realtime/
Many thanks
Daniel Torvisco - Developer Support Engineer at Facebook

Where can I find the data points for the Insights chart in the Facebook dashboard?

I am currently using the Open Graph API but am not opposed to using FQL if it can get me the data points I'd like. Right now I am just hitting the urls directly and not worrying about a client SDK.
Of the three charts on http://www.facebook.com/insights/ => websites I can find the data for the Site Engagement chart in the Domain Insights in the API.
However, I can't seem to find the points for Distribution on Facebook, or Referral Traffic to Site in the insight data being returned for the domain. Did I miss them, are they available maybe in FQL or are they just not exposed yet?
Edit: It looks like someone doesn't understand what charts I am talking about so to clarify, I am looking for the following anywhere in the Open Graph API, FQL, or anyplace else in Facebook:
Like Story Impressions
Share Story Impressions
Like Story Clicks
Share Story Clicks
This info is now available via the Insights app. News Feed section has some of it, at least the story impressions and clicks.