WordPress.org

Ready to get started?Download WordPress

Forums

Social
[resolved] Facebook: How to remove personal account and only show FB pages (3 posts)

  1. nijip
    Member
    Posted 2 years ago #

    Hi,

    I would like to use this plugin on a multi author site with a default twitter account and facebook page account for the authors to use when they publish a post. This all works out of the box, but unfortunately Social always shows the Facebook profile account as well as the nominated Facebook page. This obviously is not going to work on a public site. Anyone know how to hide the profile account and only show the facebook page?

    http://wordpress.org/extend/plugins/social/

  2. Alex King
    Member
    Plugin Author

    Posted 2 years ago #

    Workaround: create another Facebook user with write access to the page.

  3. nijip
    Member
    Posted 2 years ago #

    Hi.
    I managed to get it to work by editing the options.php found in
    social\views\wp-admin\post\broadcast of the plugin.

    There is a while statement that generates the twitter and FB peronsal accounts. Wrap that with an if statement, ie,

    if ($service->key() == 'facebook') { } else {
    CODE HERE
    }

    The Facebook Pages (not profile) are still shown because the code that deals with them is separate.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags