Facebook Canvas Apps, New API
- by James
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.