Create facebook tab only for my company page

I have created a company page and I want to create a custom tab that can only be set on my page. I know how to create applications and set a custom tab. How to configure the application, so I can install it? Thanks!

+4
source share
1 answer

Each request made to the URL of the tab of your application’s page (the URL used when loading the application through the “Page” tab) will include the signed_request parameter.

The decoding method is explained in https://developers.facebook.com/docs/authentication/signed_request/ - when your application is loaded on the page tab, you will always get page (other parameters may be absent if the current user did not allow your application, which will take place for most page tab applications)

The page parameter contains the page identifier of the page to which it is loaded. Then you use the if statement in your code and decide not to show anything (or some common content) if the request came through a page that you did not expect to install the application.

+2
source

Source: https://habr.com/ru/post/1369520/


All Articles