WordPress.org

Ready to get started?Download WordPress

Forums

multiple instagram accounts to one wordpress (4 posts)

  1. kevinalves
    Member
    Posted 1 year ago #

    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.

  2. ethanhackett
    Member
    Posted 1 year ago #

    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.

  3. ethanhackett
    Member
    Posted 1 year ago #

    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.

  4. ethanhackett
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic