Developers Manual > SDK Integration > Facebook > Facebook API References in JavaScript > Facebook-activateApp

.activateApp()

Report the launch of the app, for integration with Facebook app ads. More details at App Events.

Example

1
2
var facebook = plugin.FacebookAgent.getInstance();
facebook.activateApp();

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.