Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adding applications to pages
<script type="text/javascript">
function addToPage() {
var obj = {
method: 'pagetab',
redirect_uri: '[redirect_url]',
};
FB.ui(obj);
}
</script>
<button onclick="addToPage();" class="btn">Install App</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.