Closed GoogleCodeExporter closed 8 years ago
<script type="text/javascript">
var offlineAccess = "";
FB_RequireFeatures(["CanvasUtil"], function(){
FB.XdComm.Server.init(getBasePath()+"/xd_receiverfb.jsp");
FB.CanvasClient.setCanvasHeight("1200pt");
FB.ensureInit(function() {
FB.XFBML.Host.parseDomTree();
FB.Facebook.get_sessionState().waitUntilReady(function()
{
FB.Connect.showPermissionDialog('offline_access,read_stream,publish_stream,email
,create_note,read_mailbox',
offline_callback);
});
});
});
function offline_callback(granted) {
if (granted)
{
// alert('User has granted offline permission');
}
else
{
// alert('User has not granted offline permission');
}
}
</script>
please see code this will work fine for u
Original comment by dinesh....@gmail.com
on 29 Sep 2009 at 11:07
if you have a question, please use the discussion forum. (link on the homepage
of
project).
Original comment by fern...@gmail.com
on 1 Nov 2009 at 12:54
Original issue reported on code.google.com by
shaheervu@gmail.com
on 25 Sep 2009 at 5:42