How can I retrieve the new timeline data from the API?
Asked Answered
M

2

19

At the f8-conference Facebook just announced the new timeline view. This is based on the new Open-Graph model

The question is, how is this data retrieved via the API?

Retrieval should address a number of complexities:

  • The filtered nature should be just like in the online view, i.e. not everything from the ticker should show up
  • Even more, the granularity of the timeline view should be reflected just like on the webpage (more detail today, less detail in the past, but the option to dig deeper at any time)
  • The aggregation view of app data should be supported
  • The cover image should be part of the data

Right now, it is not obvious to me if this is or will be possible at all.

Maquis answered 23/9, 2011 at 9:43 Comment(4)
Wait a few days and I'm sure more documentation an api's will be rolled out. It's been out less than a day.Eldrid
Also curious about this. I'm clear on how to add data to the open graph, but completely unclear if I have access to this data (expecially data created by other 3rd party apps.)Faceplate
Ok, I've done some experiments with curl. Actions publishing/reading via graph api (post/get) basically work. But the documents do not mention how to the access the aggression via graph api. I hope it won't be another FB non-open function like facebook questions.Terenceterencio
your own application data can be accessed with: graph.facebook.com/me/YOUR_NAMESPACE:YOUR_ACTION/…Quechua
C
2

In answer to agam360’s further question in the comments,

But how can we get that "Cover Photos" Id? (looping though all of the Graph data?!)

Use FQL, and take name="Cover Photos" into the WHERE condition of your query too. (But keep in mind that this album name is locale dependend, so if you should be querying the data in another locale than english, you’ll have to adapt the search term.)

Crankle answered 5/6, 2012 at 18:18 Comment(0)
M
1

Partial answer to the fourth bullet:

There is a new photo album called "Cover Photos" with the cover image on position 1. Unfortunately, there doesn't seem to be a way to find the positioning coordinates that define the viewport on the image.

{edit} There's now a cover field on a user which returns the cover photo and the x/y offset needed to display it the same way it's displayed on Facebook {/edit}

Maquis answered 27/9, 2011 at 14:33 Comment(1)
But how can we get that "Cover Photos" Id? (looping though all of the Graph data?!)Murmansk

© 2022 - 2024 — McMap. All rights reserved.