thieumao

scheme facebook

Jul 24th, 2017
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. [7/25/17, 10:07:40 AM] tunghd.uet: NSURL *url = [NSURL URLWithString:@"fb://profile/<id>"];
  2. [[UIApplication sharedApplication] openURL:url];
  3. [7/25/17, 10:07:48 AM] tunghd.uet: fb://profile – Open Facebook app to the user’s profile
  4.  
  5. fb://friends – Open Facebook app to the friends list
  6.  
  7. fb://notifications – Open Facebook app to the notifications list (NOTE: there appears to be a bug with this URL. The Notifications page opens. However, it’s not possible to navigate to anywhere else in the Facebook app)
  8.  
  9. fb://feed – Open Facebook app to the News Feed
  10.  
  11. fb://events – Open Facebook app to the Events page
  12.  
  13. fb://requests – Open Facebook app to the Requests list
  14.  
  15. fb://notes – Open Facebook app to the Notes page
  16.  
  17. fb://albums – Open Facebook app to Photo Albums list
  18. [7/25/17, 10:07:59 AM] tunghd.uet: Dùng scheme nhé bác
  19. [7/25/17, 10:08:19 AM] tunghd.uet: Check canOpenURl trước
Advertisement
Add Comment
Please, Sign In to add comment