datasage
datasage

Reputation: 19573

Like Action with Open Graph

In the past creating likes was not allowed with the Facebook API.

Now that open graph has sort of make actions, objects generic. Can like be used with the open graph API; to like an object within my application.

If not, can I create my own "Like" action to be used within my application?

Upvotes: 4

Views: 1284

Answers (2)

datasage
datasage

Reputation: 19573

This question is rather redundant now. Like is now a built in open graph action that you can add to your application.

Upvotes: 2

tbruyelle
tbruyelle

Reputation: 13045

In my understanding, you cannot use the Open Graph API to like an object, because you can only like an object instance, not an object itself.

That said, I found how to like an object instance with a simple request (you just need to know the object instance id) :

https://graph.facebook.com/[object_id]/likes

Upvotes: 2

Related Questions