WordPress.org

Ready to get started?Download WordPress

Forums

WP-Instaroll
Displaying older posts (3 posts)

  1. ethanhackett
    Member
    Posted 1 year ago #

    Is there a way to extend how far back the Instagram photos go? Right now it looks like 24 hours maybe 12. Could I extend it for a week or more?

    http://wordpress.org/extend/plugins/wp-instaroll/

  2. pingram3541
    Member
    Posted 10 months ago #

    this is an instagram API limitation of 20 most recent photos per query, so if you do 50 photos a day, maybe once a day auto posting isn't for you, maybe every 30 min? Also, if its not a new account, you'll initially only get the most recent 20 photos and no way to get the older ones. There is a work around the API limitation using pagination found here ( http://thegregthompson.com/old_site/displaying-instagram-images-ignoring-page-pagination/ ) but this is a project I'm going to pass on and just go find another plugin hopefully. Shame but I need ALL my client photos past, present and future to be imported into individual posts as featured images.

  3. pusle
    Member
    Posted 4 months ago #

    A bit late, but maybe someone can use this. To get ALL images from a specific user or tag. In common.php line 21 and 23, change from

    define('WP_ROLL_INSTAGRAM_USER_PHOTOS_URL_B', '/media/recent/?access_token=');

    and

    define('WP_ROLL_INSTAGRAM_STREAM_BYTAG_URL_B', '/media/recent?access_token=');

    to

    define('WP_ROLL_INSTAGRAM_USER_PHOTOS_URL_B', '/media/recent?count=-1&access_token=');

    and

    define('WP_ROLL_INSTAGRAM_STREAM_BYTAG_URL_B', '/media/recent?count=-1&access_token=');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.