Javascript Event System - fbc-after-post-success

From KickApps Documentation

Jump to: navigation, search

This article pertains to the Javascript Event System. You can refer to our list of Javascript Event System Supported Events to learn what else you can do with our event system.

Contents

Summary

This event is fired after a user has posted a message to their Facebook Wall via the Facebook Connect dialog popup box.

Payload Parameters

userId
(Number) The ID of the current KickApps user
fbMessageId
(Number) The ID of the new message that has been posted to Facebook
fbMessageObject
(Object) An object containing any data that Facebook posted back to KickApps, including the original message that the user posted to their Facebook Wall.

Execution Interruption

none

Example

function onAfterPostSuccess(data) {

   // do something here

} var newEventId = Ka.events.listen('fbc-after-post-success', onAfterPostSuccess);