TODO The redirection issue: Check if you're on the page get page_id If so get the page username https://graph.facebook.com/108363895897372 (NEED A PUBLISHED PAGE FOR THAT) and redirect back to that place https://facebook.com/+page_username+"/app_"+app_id;