Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Facebook API: App Notifications API for Facebook Canvas Apps
$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
You can’t perform that action at this time.