Ntb\RestAPI\OAuth\FacebookApi
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class FacebookApi
extends Object
implements
ISocialApi
{
- // methods
- public boolean validateToken()
- public array getProfileData()
Hierarchy
Methods
public
- getProfileData()
- validateToken() — Checks with the site to confirm that the given token is indeed valid and corresponds with the userID we were given. It can do anything else it needs as well (e.g. facebook provides a debug_token endpoint)