So I have been playing around with the facebook like button but I have run into a problem. I have a facebook page about some charity work I\'m doing here:
http://www.fac
I don't think getting a Facebook like button on a piece of content that's not a page is possible with
. To test this out, I tried a couple things on a photo I posted on my own wall. As you figured out, none of the URLs work.
That said, you can build your own like button. With the Graph API, you can pull objects from your own feed with /me/feed
. The easiest thing would probably be using images from the feed; if you hosted the image you'd need a mapping table back to objects on your feed. Each object from your feed will have a Like counter.
Update
Reread the post and it looks like you don't want the user to have to log in. The Graph API can be called from the server side. As you're accessing your own feed, you just need to give your app offline permissions to your own feed, and the current user won't have to log in.
Update 2
It appears /POST_ID/likes
only works on posts - I get "app must be on whitelist" on anything else.