I should have asked this in Facebook developer forum instead, but somehow I can’t register to the forum and the Facebook connect feature is not working at the time I’m writing this.
Anyway, I am still confused whether to use Graph API or the old REST API for my Facebook app.
Generally, this is what I want to achieve in my app:
- Get profile picture and name of the user.
- Get profile picture and name of the user’s friends who are also using my app.
- Post into the user’s stream.
- Allow users to invite their friends to use the application.
Can someone provide me an insight, which one is better for my application?
http://graph.facebook.com/[uid]for the name andhttp://graph.facebook.com/[uid]/pictureis an always up-to-date link to the current picture. Also, if you have an access_token, you can query http://graph.facebook.com/me for data on the current user, whoever that is.fieldsparameter:.../friends?fields=id,name,picturebodyparameter. (see http://developers.facebook.com/docs/api#publishing)