Open Facebook Profile in the app

Asked

Viewed 1,552 times

2

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

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

but this opens only the application, does not load the person’s profile.

  • which system is not working iOS or Android?

  • I’m testing on Android

  • Try this facebook://facebook.com/wall?user={ID do usuário}

  • user id between keys?

  • No, the keys were just to illustrate, must be something like this: facebook://facebook.com/wall?user=10190190190, accepts only cash.

  • Didn’t work :\

  • Didn’t work out how? Details please

  • Now I did. I was putting the name that comes after www.facebook.com/ in letters instead of putting the id in numbers

Show 3 more comments

1 answer

5


I believe the person’s profile has to be the numeric ID and you must be adding the person’s name

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

Fb protocol://

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.