0

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.

halfer
  • 19,824
  • 17
  • 99
  • 186
gupgup
  • 13
  • 4
  • 1
    you should change your question to "Facebook API Post Message On Friends Wall" or something similar – MCKapur Apr 18 '12 at 12:20
  • Completely banned by Facebook, early 2013. Totally irrelevant now http://stackoverflow.com/questions/5665476/sending-a-private-message-to-your-friends-via-facebook-ios-sdk – Fattie Oct 23 '13 at 10:52

2 Answers2

2

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) https://developers.facebook.com/attachment/ios-app-flow.png

Describing the process to get the friend list: Facebook Api to check in users in an iOS app

Community
  • 1
  • 1
Prine
  • 12,192
  • 8
  • 40
  • 59
0

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.

Dipang
  • 1,111
  • 12
  • 12