lorenzov
lorenzov

Reputation: 233

How to publish a FB notification from a FB connect app?

How can I publish a notification from a FB connect APP using only FMBL? Is it possible?

Upvotes: 1

Views: 2125

Answers (1)

klochner
klochner

Reputation: 8125

It's not possible with just fbml. For one, you somehow need to specify which friends would receive notifications, meaning some kind of logic is necessary.

You need to call the REST API, either using JS on the client side:

http://wiki.developers.facebook.com/index.php/JS_API_M_FB.ApiClient.Notifications_send

or using xml on the back end:

http://wiki.developers.facebook.com/index.php/Notifications.send

There are api client libraries for the most common web languages (python/php/ruby).

Upvotes: 1

Related Questions