I’m trying to download a users wall posts. The FB account i’m getting the posts from is always going to be set to public so I don’t think there’s any need to log in. I can’t seem to find any documentation on the FBConnect iOS SDK so i’m hoping somebody here can help me.
The newest SDK is using
- (void)requestWithGraphPath:(NSString *)graphPath
andParams:(NSMutableDictionary *)params
andDelegate:(id <FBRequestDelegate>)delegate;
to get data from the user graph. The problem is that I have no idea what the acceptable parameters are or what the graphPath is. I think the graph path is simply the name after http://www.facebook.com but I’m not sure.
What I would like to do is get the last 20 wall posts made on a public artist page.
Thanks in advance!
Oh also if you know of a good place to get some FBConnect iOS documentation that would be awesome. I know there’s a tiny bit on the git hub download page but I would love to see something a little more complete.
UPDATE
I found some decent documentation. http://developers.facebook.com/docs/reference/api/
I also found that if you just want the owner of the pages post you specify /userID/posts rather than /userID/feed.
[NSDictionary dictionary]will do fine.The protocol is defining two methods :
pretty straight forward: the result is either an array or a dictionary depending on what you request a feed will typically be a NSArray of post.
Look at the GraphApi Doc to learn more about graphPath.