IOS Facebook app URL fb: // except publishing

There have been several posts, but this does not answer my direct question.

We are currently using the code:

NSString *post = [NSString stringWithFormat:@"fb://publish/profile/me?text=%@",@"Some Link"]; BOOL canOpenURL = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:post]]; if ( canOpenURL && ![Utils isipad] && hFaceBookCheckAppFirst ) [[UIApplication sharedApplication] openURL:[NSURL URLWithString:post]]; 

etc .. This is great for positioning. It launches the Facebook application, and then the user can post messages, etc.

What are other verbs that can be used instead

 fb://publish 

Seems to be unable to find documents on this. This does not seem to be in the Facebook SDK docs that invoke the web interface.

+4
source share
2 answers
  fb://page/<id> 

It works on iPhone.

+2
source

This website contains a list of all the verbs associated with the fb: // handler.

Oddly enough, I could not find this information on Facebook.

+6
source

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


All Articles