Support of page tabs

Mar 31, 2010 at 2:06 PM

I'm wondering if there is a way to proprly use this toolkit for tab specialy for tabs on page's profile
(you know, both users and pages can add tab on their profile)

Tab is allways FBML page never an iframe so I use FBMLCanvasPage as parent, when I use RequireLogin = true it works for users, but no for pages. (null pointer exception)

How can I properly initialize session for page tab?



Mar 31, 2010 at 6:22 PM

You can't.  Facebook does not allow you to access the user info until they allow the app.  If you put a link to your app form the fan page and add requirelogin=1 like <a requirelogin=1 href=""> That will pop open a modal for them to allow app.


Mar 31, 2010 at 10:05 PM

Yes you can.

On a tab you have session on behalf of the owner of teh tab i.e. user or page.

I just need to properly initialize session with the parameters given in request.

Here are the tab rules:

and parameters are described here:

I thik i just need to override fb_sig_user and fb_sig_profile_user with fb_sig_page_id


Mar 31, 2010 at 11:31 PM

To be more precise - you get read only session on user profile, and no session at page profile :-/ that stupid