Only individuals may create a Facebook Profile. However, an individual can use their Profile to create a Facebook Page for a business.
A Facebook user must initiate communication using Facebook Messenger via the business's Facebook Page. A message from the business to the Facebook user will otherwise be refused.
Facebook Messenger uses its own form of IDs for the Facebook User and the Facebook Page :
- Facebook User (profile) - Page-Scoped ID (PSID)
- Facebook Page (business) - Page ID
The Facebook User will have a Page-scoped ID (PSID) and this is unique for each Facebook Profile. The business can only obtain the PSID of a user when the user sends a message to the business. In Facebook Messenger, the default is for the customer to initiate a conversation with a business.
In order to get started with Facebook Messenger you will need to link your business's Facebook Page to Nexmo.
Linking your Facebook page to your Nexmo account allows Nexmo to handle inbound messages and enables you to send messages from the Nexmo Messages API.
To link your Facebook page to your Nexmo account click Link your Facebook Page to Nexmo.
Select the Facebook Page you want to connect to your Nexmo account from the drop down list.
Enter the API key and API secret for your Nexmo account.
Click Subscribe. You will receive a message confirm successful subscription.
At this point your Nexmo Account and this Facebook Page are linked. The link between your Nexmo account and Facebook page expires after 90 days. After then you must re-link it.
Once your Facebook page is linked to your Nexmo account, it becomes available for use by any of your applications. To link the Facebook page to a Nexmo application:
Navigate to your applications page.
From the list, click on the application you want to link. You can filter by using the Capabilities drop down and selecting
messagesto make this easier.
Then, select the Linked external accounts tab.
Click the Link button beside the Facebook Page you want to link your application to, ensuring that the Provider is Facebook Messenger.
You're now ready to receive messages users send to you on your Facebook Page.
NOTE: If in the future you want to link a different application to this Facebook page, you only need to repeat the procedure described in Part 2, for the new application.
The link between your Nexmo account and Facebook page expires after 90 days. You can re-link it by performing the following steps:
Visit the following page and select the page you want to re-link from the drop down list
When the page is successfully unsubscribed, re-link it by clicking Subscribe.