Jump to content

Object Expected error in facebook app offline access feature

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
skumar

skumar

    Newbie

  • Members
  • Pip
  • 2 posts
I have made a facebook app using Asp.net, I am using allow email and grant offline access feature. The code which i have written down is something like this
<fb:prompt-permission perms="email">Would you like to receive email from our application?</fb:prompt-permission><br />
<fb:prompt-permission perms="offline_access">Click here to enable offline access</fb:prompt-permission>

when User select Donot allow Offline Access option 2nd time it Gives Object Expected error on callback(permissionsWasGranted)

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Without seeing the code, it's almost impossible to say what the issue is.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
skumar

skumar

    Newbie

  • Members
  • Pip
  • 2 posts
<script type="text/javascript">

window.onload = function() {
FB_RequireFeatures(["XFBML", "Integration"], function() {
FB.Bootstrap.init('some keyId', 'company url', null);
FB.Integration.showAddSectionButton("profile", document.getElementById("addSection"));
})
};
</script>
This is the code snippet