Like a Facebook message from a user who is not on my friend list, or you can say you like a public post

I have two test users, Facebook A and B. Both users use my Facebook app. As an application in development mode, I grant all permissions for the application to both users and create an access token for both users.

Now I can get a feed as user A, and B. Thus, I have found that for the user B is used id the post 238863083139817. But when I tried to fall in love with post B from A using the graph algorithm below.

POST/v2.6/1542696762701116_238863083139817/likes

I got an error message below.

{
  "error": {
    "message": "(#100) Error finding the requested story",
    "type": "OAuthException",
    "code": 100,
    "fbtrace_id": "DH4NvDpj3aN"
  }
}

Here 1542696762701116 is my identifier.

Does anyone know how I like a message from a user who is not on my friends list.

, A B .

+4
1

, . , , , .

, : "(# 100) " POST,

: read_stream, . ?

+1

All Articles