This article shows you the steps to post on Facebook with Native Mobile Applications.
Social interaction is very important for Native Mobile Applications. With GeneXus there are many ways to communicate and send messages from your application: Email, SMS, Twitter and in GeneXus Evolution 2 Upgrade 1, there is a new feature to interact with Facebook.
Before starting this tutorial, step 1 should be completed. The rest of this document will assume that it has been done, that the Facebook App ID is known, and that your Application bundle identifier has been set in your Facebook Application.
To add this feature to a Native Mobile Application in GeneXus, first read Facebook external object article, especially its considerations and limitations.
On a User Event call the External Object to post:
When the end user executes the action 'ShareLink', a pop-up window of Facebook will be displayed with a preview of the post and the possibility to add a comment on it.
- As of July 17, 2017, Facebook's Graph API only considers the link or image parameters; the others are ignored.
PostToWall method is no longer available since GeneXus 15 Upgrade 8. For more information, read here: Facebook external object