IOS Post to Facebook

I want to make a message from my iOS application mentioning some friends. I got his id.

So, I am using the following steps and not working:

  NSString * textToShare = @ "hello @ [100003626828741]";  NSDictionary * parameters = @ {@ "Picture": picture, @ "name": @ "hello", @ "caption": textToShare, @ "message": textToShare,};

NSURL *feedURL = [NSURL URLWithString:@"https://graph.facebook.com/me/feed"]; SLRequest *feedRequest = [SLRequest requestForServiceType:SLServiceTypeFacebook requestMethod:SLRequestMethodPOST URL:feedURL parameters:parameters]; feedRequest.account = [[ICollinaService instance] facebookAccount]; [feedRequest performRequestWithHandler:^(NSData *responseData, NSHTTPURLResponse *urlResponse, NSError *error) { NSLog(@"Facebook HTTP response: %i", [urlResponse statusCode]); NSLog(@"Facebook HTTP response allHeaderFields: %@", [urlResponse allHeaderFields]); NSLog(@"Facebook HTTP error: %@", error); }]; } 

How can I mention a friend in my post? Thanks

The result of the message: hello @ [100003626828741] as the header and message without changing the identifier for the name with the link / tag.

+4
source share
2 answers

I don't think you can tag a friend in a message, but you can in action.

0
source

I am viewing the Open Open API API https://developers.facebook.com/docs/opengraph/getting-started/

I do not know, this is the best way !!

It seems to me that worrying that it’s easy to find friends using friendPicker and posting photos is very easy using IOS 6.0 social networks, but for publishing two in combination with an open schedule it seems very difficult to compare. However, this is the only solution I have found so far.

0
source

All Articles