Reputation: 117
In my ios app I want to post on the user wall using facebookSDK 3.1. in addition i would like to avoid using permissions if posible.
Upvotes: 1
Views: 2349
Reputation: 819
Using GraphAPI From http://developers.facebook.com/docs/reference/dialogs/feed/
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
kAppId, @"app_id",
@"http://developers.facebook.com/docs/reference/dialogs/", @"link",
@"http://fbrell.com/f8.jpg", @"picture",
@"Facebook Dialogs", @"name",
@"Reference Documentation", @"caption",
@"Dialogs provide a simple, consistent interface for apps to interact with users.", @"description",
@"Facebook Dialogs are so easy!", @"message",
nil];
[_facebook dialog:@"feed" andParams:params andDelegate:self];
Upvotes: 3