Hi, I have got the same problem.
Wordpress 3.9
Facebook Page Publish 2 v0.4.1
What should I do, which setting have to change or adjust?
Hi,
Same problem .. I try to change the permission but no effects.,,
I’m also with error 457.
Does anyone know how to solve this?
Due to desperation I’ve solved this but in a dirty way. Go to the plugin itself, that is, wp-content/plugins/facebook-page-publish/fpp_index.php – go to line 662 and comment out the line and add $permissions = array(); above it so that it looks like below:
$permissions = array();
//$permissions = array(‘offline_access’, ‘share_item’);
That should solve it assuming you already have the other permissions manage_pages and user_groups
* @last_review 0.3.1
*/
function fpp_get_required_permissions($object_type) {
if (!is_array($object_type)) $object_type = array($object_type);
$permissions = array(‘share_item’);
if (array_search(‘page’, $object_type) !== false) {
$permissions[] = ‘manage_pages’;
}
if (array_search(‘group’, $object_type) !== false) {
$permissions[] = ‘user_groups’;
my codes like this
what we must do
@samandagtv
Are you replacing
function fpp_get_required_permissions($object_type) {
if (!is_array($object_type)) $object_type = array($object_type);
$permissions = array('share_item');
if (array_search('page', $object_type) !== false) {
$permissions[] = 'manage_pages';
}
if (array_search('group', $object_type) !== false) {
$permissions[] = 'user_groups';
}
return $permissions;
}
with your code? or adding to it?