Back to Top

How to setup Facebook PageTab Popup

Normally, When we develop a Facebook application, we are using a direct URL to get page Tab in the page with using below URL.

https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=URL

So, URL other users can add your app/page as a pageTab using aboURL but for that you need to share or provide above URL to users.

So better and another way is to demonstrate interface and Fortunately, you can get the Facebook modal-style popup window using a little bit of JQuery and the Facebook Javascript SDK and it allows the user to add an app to a Facebook Page if users are owner/admin of the page 🙂

The Javascript SDK

The Add Page Tab Dialog prompts

Add PageTab

place this line of code in the tag of your HTML page:

 

Facebook page Tab Popup

definitely, the YOUR APP ID should be replaced with your actual application ID.

That’s it.Now you can use interface for face page Tab.

Thanks for reading and feel free to share your thoughts, don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

Static Methods and Properties in PHP

Posted on 7 years ago

Bhumi

How to convert RGB to Hex color PHP?

Posted on 5 years ago

Bhumi

How To Sort by custom fields in WordPress

Posted on 7 years ago

Zinal

How To Create a Temporary File in PHP

Posted on 7 years ago

Bhumi

Hello world

Updated 1 month ago

Nick Carter

In depth Understanding of Laravel Core

Updated 3 months ago

Bhumi

ECMAScript 6 New Features – 2

Updated 1 year ago

Bhumi

The Reader’s Poll – August 2014

Posted on 5 years ago

Bhumi

The Reader’s Poll – June 2014

Posted on 5 years ago

Bhumi

The Readers’ Poll – May 2014

Posted on 5 years ago

Bhumi