Although it’s documented that this is supposedly possible, the API currently doesn’t allow “liking” of a page within Facebook via the OpenGraph API (i.e. “OBJECT_ID/likes”). The error “Application does not have the capability to make this API call.” appears no matter what permissions have been granted.
Is there any plan to fix this? Does anyone know of a work-around?
It is not possible for an app to natively facebook-like Facebook Page or a URL via the API. This is only possible through the Like button.
However, with the advent of the new Open Graph (custom objects and actions) you can create your own custom Like action, and allow users to ‘like’ objects on your app’s domain via the API. These are not native Facebook likes, but they appear a “User liked X” in the newsfeed.