Set Facebook status using iphone app

Posted by gmcalab on Stack Overflow See other posts from Stack Overflow or by gmcalab
Published on 2010-12-28T01:45:37Z Indexed on 2010/12/28 1:53 UTC
Read the original article Hit count: 253

I have just started with the new graph api for facebook. I have gotten a few items to work like logging in and getting the user name and displaying this to the screen. I am having trouble figuring out how to set my status with the graph api... I have tried a couple things but I always receive and error response back.

Any ideas?

NSMutableDictionary *params = [NSMutableDictionary  dictionaryWithObjectsAndKeys:
                               @"test2", @"test",
                               nil];

[_facebook requestWithMethodName:@"status.set"
                       andParams:params
                   andHttpMethod:@"POST"
                     andDelegate:self];

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c