I find the answer. Facebook error 3506 "The action type likes:Like does not exist or is not approved" how i solve this? thanks tkcast!
Make "Like" action for Facebook post for iOS
-
03-10-2022 - |
Вопрос
How can i make "Like" action for Facebook post in iOS? I receive newsfeed from FB, and i need make Like and Comment Buttons. I use graph api
, but without Facebook SDK.
For "Like" action i tried this.
Using POST i send to
https://graph.facebook.com/[User FB
ID]/og.likes parameters access_token and like url
But i receive an error:
{ error = {
code = 240;
message = "(#240) Requires a valid user to be specified (either via
the session or via the API parameter for specifying the user.";
type = OAuthException; }; }
The permissions:
FacebookPermissions = @"publish_stream,email,read_mailbox,user_online_presence,
friends_online_presence,user_about_me,share_item,read_stream,read_page_mailboxes,
read_friendlists,read_insights,publish_actions,user_likes,friends_likes";
How can i fix this?
Решение
Не связан с StackOverflow