I'm working on putting a flash app onto facebook and had this error when I tried to use a page in a tab:
fb:redirect: redirect forbidden by flavor TabFBMLFlavor on the profile tab.
A bit of searching revealed that you can't require ogin: $userid = $facebook->require_login();
Unless you check to see if the userid is null:
$userid = $facebook->get_profile_user();
if(is_null($userid)){
$userid = $facebook->require_login();
}
Subscribe to:
Post Comments (Atom)
2 comments:
Hi!
I've tryied your solution, but it's not working...
Usign Facebook PHP5 library I get this:
Fatal error: Call to undefined method Facebook::get_profile_user()
So, do you have any other suggestion? :'(
Thanks in adavanced,
J.J. Alan
you cant get the user id of a user from the profile tab.
Post a Comment