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 6984275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:31:42+00:00 2026-05-27T18:31:42+00:00

Can someone explain to me how to use facebook app_data which is part of

  • 0

Can someone explain to me how to use facebook app_data which is part of the signed request?

http://developers.facebook.com/docs/authentication/signed_request/

The documentation is vague. I can’t figure out how to actually use the app_data field. I want to be able to pass the app data to the app when it is added to a page so that the content displayed on it is relevant to the Facebook page.

for example I want a user profile on my site to only be displayed on that users facebook page. To do so I want to send the user ID to the fb signed request when the user adds the app to their page. Then anytime the page is visited I will pull the app data and run some php to display the correct profile.

Can I do this with the app_data or is this not possible?

  • 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-27T18:31:43+00:00Added an answer on May 27, 2026 at 6:31 pm

    From the documentation that you have cited

    App Data is

    A JSON string containing the content of a query string parameter also called app_data. Usually specified when the application built the link to pass some data to itself. Only available if your app is an iframe loaded in a Page tab.

    So app data is useful only when your application has generated a link that some user will click and follow through to your app on some Facebook page.

    And if a user is visiting some page (and the app tab) directly, then you won’t get the app_data field.

    Once a user has installed your app (and has given your app minimum permissions) on any one of their pages, you always have the page_id and user_id fields in the signed_request that Facebook will send to your app, both in canvas apps (no page_id field) and page tab apps.

    For what you want to do, you can just read the signed_request and then find out the page_id and display data accordingly, you do not even have to use user_id.

    Hope this answers your question. Do ask for clarifications, if required.

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

Sidebar

Related Questions

Ok can someone explain to me the difference between: <script src=http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php type=text/javascript></script> and <script
Can someone explain the use of DBCC DROPCLEANBUFFERS together with the CHECKPOINT operator and
Can someone explain how to use if-then statements and for loops in Makefiles? I
Can someone explain how to use JSON-RPC.net in my application for windows phone. When
Can someone explain to me why I cannot use document.getElementById('id').value inside of a function?
Can someone explain to me in detail when I must use each attribute: nonatomic
Can someone please explain me why would a UDP Server not need to use
Can someone explain what is json method and it use in .net
Can someone explain me how sc.include works? Can use it to include custom config
Can someone explain why I woud use rails link_to etc instead of straight HTML

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.