Mobile app version of vmapp.org
Login or Join
Bryan171

: Facebook applications - how to get to know page ID? With Facebook API, within a custom app added to a fanpage, how do I recognize the fanpage ID? Here's what I'm trying to achieve: user

@Bryan171

Posted in: #Facebook

With Facebook API, within a custom app added to a fanpage, how do I recognize the fanpage ID?

Here's what I'm trying to achieve:


user goes to the full-width canvas app, he authorizes himself there and allows the app to add a tab to one of the fanpages he's administrating
every Facebook user going to that fanpage, sees the tab and the tab contains content specific to that fanpage (that's why I need to know the fanpage ID)
if fanpage administrator wants to change something, he goes to the full-width canvas and logs in to my service (here's where I store what he wants to show in his Fanpage)

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Bryan171

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

There are two easy ways to get your fanpage ID:

You have less than 25 fans:

Your fanpage ID is appended to your fanpage URL.
Example: www.facebook.com/pages/Social-Media/155188264543525 Your fanpage ID would be: 155188264543525


You have more than 25 fans and have set your vanity URL:

Browse to graph.facebook.com/YOURPAGENAME Example: graph.facebook.com/ULTRAGEIL The first two lines of the output shows:
{
"id": "116645905081622",
Your fanpage ID would be: 116645905081622

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme