views:

879

answers:

4

I'm working on a Facebook Application that generates wall posts. In testing these posts, I've discovered that the Facebook Platform action of "liking" a post is failing. The specific error message is

Object cannot be liked
Unable to like this object because it is not accessible (it may have been removed or you may no longer have permission to see it).

Neither of the conditions suggested in the error are actually true.

  • Googling for the error returns zero results(!) (EDIT! Now returns a result - this question)
  • Searching the Facebook bug repository returns zero results. (EDIT! Returns one result now because I reported this bug)
  • Searching the Facebook community forums yields two posts neither of which address this specific issue.

These wall-to-wall posts are generated via stream.publish using their PHP library. Here's a sample of the API call from my production code

$this->facebook->api_client->stream_publish(
    ''
  , array(
        'name'        => 'Sample Wall Post'
      , 'description' => 'Just a test description'
      , 'media'       => array(
          FbAppHelper::imageAttachment( 'path/to/image.gif', 'http://apps.facebook.com/' . FB_CANVAS_URI )
        )
    )
  , null
  , $facebookId
);

Any clues?

A: 

its probably a post by Joel

mcintyre321
+1  A: 

Hey, I know this doesn't help you, but I encountered a object which can't be "liked" too. I got the same error message, and I think the "object" was generated within Facebook itself (not through a third party app). It's something someone posted to my wall.

No clue why, but it just happens on that one message and it gives me the same error message you see. Hope you found a solution.

Nathan King
A: 

I dont wont the emails of the people I like these thinks but I want to unlike them now but I cant can someone help me please I am getting between 9 to 15 a day

Paul Carlyle
I don't think this is related to either the question or any of the answers.
MJB
A: 

I have this same problem. Couple of days ago Facebook started to post "recent activity" on my wall and the activity actually is not "recent", but activity that I have done many months ago. Now I can not remove these recent activity posts in any way. Do you know an answer?

Maria