I am working on an app that can be added to both user profiles and pages. This screencast showed how profile ID’s can be added to a users table as facebook_id fields, but how can I do the same for page ID’s (the fb_sig_profile_user param)? I have an idea how to accomplish this but I’m not sure if it will work:
- In the Facebook Pages Settings page, set ‘Post-Add Redirect URL” to http://appurl/users/create.
- Allow users/create to accept GET requests.
- Edit users/create so that it will check if these params were passed:
installed=1&fb_page_id=61124459562 - Add
fb_page_idas a User ONLY IFinstalled == 1,fb_sig_is_admin == “1”andfb_sig_session_keyis valid (How do I do that?)
What do you think?