Solved

linking page tab and php page in facebook app

Posted on 2011-09-28
2
214 Views
Last Modified: 2012-05-12
Hi,
I have created a facebook app, which I want to use in a few different facebook accounts. When loading the tab page, I wish to load a page that is querying a mysql database and loading site specific information, but without recreating the app every time.
Can I add the same page tab app and just edit the querystring of the page being called with an id=, or will I need to recreate a new app for each id, to allow a different querystring identifier?
Thanks for any advice here as Im struggling to find apprpriate advice on the best way to go re the latest tab pages and how to load for different facebook users,

Mike
0
Comment
Question by:helpfulMike
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
gattytto earned 500 total points
ID: 36911157
when you call an app from a fanpage (and if I'm right also from app tab) you can use the app_data variable to pass a string that will be received in the $_REQUEST['signed_request'] into the app.

when you serialize that into a variable you get an array which will contain ['app_data'] key with the string value you passed in the url.
0
 

Author Closing Comment

by:helpfulMike
ID: 36934466
THanks so much for your help, Really appreciated
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question