Does facebook uri scheme work on iOS6?

I used fb://publish/?text= to publish from my application on iOS to Facebook, but this no longer works with updating the Facebook application to version 5.0 (and not with updating iOS6). Does anyone know how to publish in a new application? Are there other URI schemes that can be used?

I do not want to use any built-in integration, just a link ...

+4
source share
1 answer

Try this code, it will be useful for you.

  NSMutableDictionary *params = [NSMutableDictionary dictionary]; [params setObject:str forKey:@"message"]; [facebook requestWithMethodName:@"stream.publish" andParams:params andHttpMethod:@"POST" andDelegate:self]; 

But for this you must be assigned permission to publish.

0
source

Source: https://habr.com/ru/post/1437146/


All Articles