Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6329713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:43:38+00:00 2026-05-24T17:43:38+00:00

With Facebook API, within a custom app added to a fanpage (tab app), how

  • 0

With Facebook API, within a custom app added to a fanpage (tab app), how do I get 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 shows 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)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:43:39+00:00Added an answer on May 24, 2026 at 5:43 pm

    From a parsed signed request (to an tab iFrame) you can get the page id – the contents would be similar to the following (output of PHP print_r):

    stdClass Object
    (
        [algorithm] => HMAC-SHA256
        [issued_at] => xxxxxxxxxx
        [page] => stdClass Object
            (
                [id] => FAN_PAGE_ID // target page id
                [liked] => 1        // is the user a fan
                [admin] =>          // is the user an admin
            )
    
        [user] => stdClass Object
            (
                [country] => ie
                [locale] => en_GB
                [age] => stdClass Object
                    (
                        [min] => 21
                    )
    
            )
    
    )
    

    For more information see:
    http://developers.facebook.com/docs/authentication/signed_request/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to send an email through the Facebook API. I've added the application
Facebook API: How to let the php knows whether the user is a fan
I'm using the Facebook API and the class produces this object. object(User)#4 (5) {
I'm trying to access the Facebook API Admin.getMetrics method via jQuery. I'm correctly composing
I can make a search query using these tokens here: http://developers.facebook.com/docs/api#search in the links:
I'm developing a new Facebook Canvas application within an iFrame and trying to authorize
Possible Duplicate: Check if user is logged in New Facebook API ive implemented facebook
I'm trying to issue a Facebook Graphp API search call for groups with a
I have problems with redirecting user after authorization back to the app tab in
I'm new to Facebook API on Android, and basically, what I'm trying to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.