I searched stackoverflow and the internet and did not find a working solution for my intentions.
I want to call a method with a string as a parameter, which is then sent to the facebook wall without showing a dialog. Of course, only when a valid session is available.
I tried this:
// post message to facebook pinnwall - (void)postOnWall:(NSString *)message { NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys: message, @"message",nil]; [[FBRequest request] call:@"facebook.stream.publish" params:params]; }
Can you guys help me with the working method?
Thanks and greetings, doonot
source share