Solved

linking page tab and php page in facebook app

Posted on 2011-09-28
2
209 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
2 Comments
 
LVL 2

Accepted Solution

by:
gattytto earned 500 total points
Comment Utility
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
Comment Utility
THanks so much for your help, Really appreciated
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses four methods for overlaying images in a container on a web page
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

771 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now