Solved

linking page tab and php page in facebook app

Posted on 2011-09-28
2
212 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
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 New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add new field to OOP code in order to insert into new database column 4 23
Company website 6 30
asp Google Map 2 23
Reference key in foreach loop 4 15
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

809 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