We are creating a Facebook Page Tab app. We want this to be installable on our customer’s business Facebook Pages. They will install this by visiting our SaaS app, where we have a specific customer id# for them. From there they will have a button to “Add this App to your Facebook Page” button, which will use the JavaScript SDK’s FB.ui({method:"pagetab"... call to add this to their page.
Now when one of their Facebook fans clicks into our customer’s Page and then into our App, the App page gets sent the signed_request parameter which can be parsed to find their Page Id.
The trouble is that I cannot figure out a way to associate their customer id# with their Facebook Page Id. How can this be done?
You can do like this
Store the page ids by associating each with the customer id.
When a user comes to your app, you will get the page id. Then you can easily identify the customer id from page id.