Created
January 9, 2013 14:49
-
-
Save niraj-shah/4493685 to your computer and use it in GitHub Desktop.
Facebook API: App Notifications API for Facebook Canvas Apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$response = $this->facebook->api( '/' . $user_id . '/notifications', 'POST', array( | |
'template' => 'You have received a new message.', | |
'href' => 'path/to/message/?id=' . $id, | |
'access_token' => $app_access_token | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment