Abstract Facebook Function Logic

If your development practice is to use server-side languages to make RESTful requests to Facebook servers for social data, then configuring social endpoint mappings will make swapping containers a much easier process. You should map all container-specific social endpoints within configuration files, as well as the paths to required social data within the returned social constructs. If the container changes, you’ll need to update these mappings to match the paths of the new container.

Get Programming Social Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.