WordPress.org

Support

Support » Plugins and Hacks » multiple instagram accounts to one wordpress

multiple instagram accounts to one wordpress

  • kevinalves
    Member

    @kevinalves

    Hi. I’m doing a site that will have multiple authors, and I need all of those authors’ instagrams to be available in their media libraries. I’ve used some different instagram apps successfully, but never for multiple instagram accounts. Is this possible?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • ethanhackett
    Member

    @ethanhackett

    I’m looking for the same. So far it looks like all the apps I’ve tried limit the feed to only one user feed. I’d explore making one but supporting plugins takes quite a bit of time and work.

    ethanhackett
    Member

    @ethanhackett

    Ok well Instaroll might do the trick. http://wordpress.org/extend/plugins/wp-instaroll/

    I set it up and it pulls in not just my instagram photos but those that I follow too. So you might be able to setup a instagram account and then follow all your authors. Then it will pull them in. It’s not a perfect solution but it might be a solution for now.

    ethanhackett
    Member

    @ethanhackett

    Ok Another update. Wp-Instaroll works really well. I also tweaked it a tad. It has only has two options for who to see instagram posts from. The user or the user and their friends. I tweaked the plugin to show my username and my wive’s. You could use this to filter out only users that have matching intagram names.

    Here’s how I got it to work.

    In the Ajax_panel.php file of the plugin. Look for the following if logic around line 79.

    if (!($show_published == 'dont_show_published' && in_array($element->id, $published_ids)))

    This is where it loops and displays all the instagram posts from users.

    So we want to filter it to match only users who’s names match ethanhackett and colleenhackett. Immediately after the if statement I added another if statement like this

    // Filter only author Ethan and Colleen
    if ($element->user->username == "colleenhackett" || $element->user->username == "ethanhackett") {

    Remember to close your if statement after the output.

    That filtered out the array to only include those with usernames I wanted.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘multiple instagram accounts to one wordpress’ is closed to new replies.