Setting up an application callback for Facebook Credits

Whenever a user does any transaction through Facebook credits, Facebook makes a call to the callback URL that has been set in the application's Credits settings, as described in the recipe—Setting up the application for Facebook Credits. Facebook communicates with this callback URL of your server multiple times, guiding the user through various stages in a buying process. Thus, configuration of this callback URL is the initial step, which we have to do if we want to implement credits functionality in our application. Here, we will show you how to set up your application callback for credits.

Getting ready

You should have enabled your application for Facebook credits as described in the preceding ...

Get Facebook Application Development with Graph API Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.