Facebook Canvas Apps, New API

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-05-09T07:42:27Z Indexed on 2010/05/09 7:48 UTC
Read the original article Hit count: 528

I'm having some trouble with switching to the new JS API for a number of things with creating applications within FB, specifically the "Tab".

<!--
function do_perm()
{
 Facebook.showPermissionDialog('publish_stream,email,offline_access', null);
}
//-->

This no longer works for me when called via an onclick command. Also, with the new API and an FBML app. How does this exactly work? The documentation is really poor so I am confused when looking at the old wiki, and the new developer site.

Apologies for being pretty vague, but I'm just generally confused with the lack of clear direction with the new API and help would be greatly appreciated.

I'm simply just trying to create a call that prompts for the new style user permission dialog, and oncomplete calls another JS function.

© Stack Overflow or respective owner

Related posts about facebook

Related posts about facebook-api