php - facebook publish_action not supported? -
i'm bit confused. i've read docs , tutorials on web getting permission "publish_action" user can choose option automatically post link on fb feed when create new post on site (instead of having manually every time).
i set page obtain user permission "publish_action" , created parameters (as shown below). works great when it, using developer account. on facebook developer group informed not able write message, caption, or link description user.
is case? if so, how different share dialogue? what's point in publish_action permission? publish_action deprecated?
$params = array( "message" => "i added new post.", "link" => $post_link, "picture" => "http://example.com/fbpreview2.jpg", "name" => "name of website", "caption" => "www.example.com" , "description" => "this website" ); $request = ( new facebookrequest( $session, 'post', '/me/feed', $params ) )->execute()
the facebook platform policy's documentation on prefilling requires user have typed in message parameter.
if post contents of user-generated post, should compliant rules. adding user didn't explicitly type - additional copy, links, hashtags, etc. - forbidden.
as example, if posted blog post blogging system, provide "post facebook too" checkbox/button. posting blog entry's exact user-typed text ok, posting message "i blogged on example.com/post.html" forbidden.
/me/feed doesn't accept caption or description parameters, won't matter if pre-fill them - don't anything.
Comments
Post a Comment