BDGapps
BDGapps

Reputation: 3356

Facebook get user status

In my iOS application, I am trying to implement Facebook but am running into a problem. I currently have the user logging in as well as I have implemented the friend picker. I am looking to now have it so when the user taps a friend it will show their status(last post in their feed. e.g.."In NYC on broadway!"). I did a lot of research online but am getting very confused. If someone could point me to good tutorial or could just explain this that would be great. I believe I have to use open graph but other then Facebook's tutorials I can't find any. Are there any tutorials other than on FB?

Upvotes: 1

Views: 851

Answers (2)

tattvamasi
tattvamasi

Reputation: 825

I think that the answer you're looking for is here, with the exception that you'll basically (I assume) display a list of friends with their profile pic. When clicking on the profile pic the user will see their status? Or you could try to do it all in once (friend name, pic, friend's last status). The facebook developers url they refer to in that post is here

Upvotes: 0

Marcelo
Marcelo

Reputation: 9944

You can access a user's feed by calling /<userId>/feed (https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Ffeed). Then, look for the first element on data array where "type": "status".

Upvotes: 1

Related Questions