I am trying to post a link formatted as a string on facebook. Please see the relevant code below:

NSMutableDictionary* params = [[NSMutableDictionary alloc] init];

NSString *modifiedTitle = [NSString stringWithFormat:@"<a href= https://www.google.com> My App </a>"];
[params setObject:modifiedTitle forKey:@"message"];
[params setObject:UIImagePNGRepresentation(picture) forKey:@"picture"];


[FBRequestConnection startWithGraphPath:@"me/photos"
                             parameters:params
                             HTTPMethod:@"POST"
                      completionHandler:^(FBRequestConnection *connection,
                                          id result,
                                          NSError *error)

The message appeared as:

<a href= https://www.google.com> My App </a>

instead of

My App

Related posts

Recent Viewed