Reputation: 13
I want to ask how to implement text view in Facebook API. I want to post message on friends wall and also how to get friends list and personal details from Facebook.
Upvotes: 0
Views: 1433
Reputation: 1121
Due to many of errors and many of negative comment about Open Graph API in facebook ios 6. facebook remove the " Post to friends wall via the API ". You can only use the fbconnect of ios 5.
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"100004925467891", @"to",
@"http://pri.com/pit.png", @"picture",
@"http://pr.com", @"link",
@"Data", @"caption",
@"data",@"description",
@"Birthday Reminder",@"name",nil];
[[delegate facebook] dialog:@"feed" andParams:params andDelegate:self];
But if u Post to own wall Open Graph API is still working.
Upvotes: 0
Reputation: 12538
You have to use the IOS Facebook API. They created a quite detailed Introduction page.
Have a look here: https://developers.facebook.com/docs/mobile/ios/build/
This image shows the whole process from authorization till publishing something on the news feed. (Also copied from the Facebook Developer tutorial)
Describing the process to get the friend list: Facebook Api to check in users in an iOS app
Upvotes: 2