The URL scheme of Facebook does not work fb: // publish

advertisements

I just realized that the Facebook URI scheme publish function does not work anymore. It opens the Facebook app, but nothing more. Is there any way to publish something via an URI scheme?
You can find my code below.

NSString *post = [NSString stringWithFormat:@"fb://publish/profile/me?text=foo"];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:post]];


I think this is how it can be done with URLs:

link

You need an access token from facebook. After that you can follow this link descriptions and requirements.

link

And there is a Graph API explorer for HTTP requests.

link

I hope this will be helpful for you. In my case, I use iOS Social Framework which is easy to use and user friendly.