Open in-app Facebook profile

0

I would like to know how to open the facebook application when I click on the link. In the searches I did it would be like this, but it did not:

<a href="fb://profile/PerfilPessoa" />

but this only opens the app, it does not load the person's profile.

    
asked by anonymous 09.01.2017 / 00:50

1 answer

2

I believe that the profile of the person has to be the numeric ID and you must be adding the name of the person

Facebook Protocol:

facebook://facebook.com/inbox
facebook://facebook.com/info?user=544410940     (ID como "patrick.boos" não irá funcionar)
facebook://facebook.com/wall
facebook://facebook.com/wall?user=544410940   (isto irá funciona apenas se você tiver a pessoa adicionada a sua lista de amigos)
facebook://facebook.com/notifications
facebook://facebook.com/photos
facebook://facebook.com/album
facebook://facebook.com/photo
facebook://facebook.com/newsfeed

Protocol fb: //

fb://root
fb://feed
fb://feed/{userID}
fb://profile
fb://profile/{userID}
fb://page/{id}
fb://group/{id}
fb://place/fw?pid={id}
fb://profile/{userID}/wall
fb://profile/{userID}/info
fb://profile/{userID}/photos
fb://profile/{userID}/mutualfriends
fb://profile/{userID}/friends
fb://profile/{userID}/fans
fb://search
fb://friends
fb://pages
fb://messaging
fb://messaging/{userID}
fb://online
fb://requests
fb://events
fb://places
fb://birthdays
fb://notes
fb://places
fb://groups
fb://notifications
fb://albums
  

I am looking in the official documentation for the details to formulate the examples

    
09.01.2017 / 01:54