I want to make a system for tabs. I have a server with a database with different companies with there info. All the companies get a same tab, but with different content form the database.
The way I have to do it, is to make a new app (Tab app) for every company and link to the website like http://www.domainname.com/facebook.php?companyname=NAME.
I want a way that I can use 1 app for every company and only have to change the “companyname” variable. Is that possible?
You can use the Signed Request variable to get the page ID, which you then compare to all the entries you have in the database. Keep in mind, that you can only have 1 tab per page, but they will all use the same app.
http://developers.facebook.com/docs/authentication/signed_request/