Support » Plugin: DsgnWrks Importer for Instagram » uploaded same photos from instagram

  • hello.the app is great and I had found it like bug that will be upload same photos from instagram to wordpress.please modify the target source or let me know how to install correct the photos from instagram using your app.I shot the target screen shot for you so refer that please.

    try the follow
    #1 make instagram’s article with 5 photos.
    for instance,I will post 1 article with 5 photos that name is
    a.jpg,
    b.jpg,
    c.jpg,
    d.jpg,
    e.jpg.

    #2 using your app DsgnWrks Instagram Importer

    #3 the app will uploaded the the article of wordpress just only 1 photos 5 times.
    a.jpg,
    a.jpg,
    a.jpg,
    a.jpg,
    a.jpg,

    Easy to say,now situatin is follow.
    ——as is
    1 article in wordpress
    a.jpg,
    a.jpg,
    a.jpg,
    a.jpg,
    a.jpg,

    ——to be, i want to do that
    1 article in wordpress
    a.jpg,
    b.jpg,
    c.jpg,
    d.jpg,
    e.jpg,

    and this is the screen shot.
    https://drive.google.com/open?id=1tT8LnFATU7JYXiJnxa0tYkstmAKwAP3R
    https://drive.google.com/open?id=1m8o-65bP6WojtDDmshJuc3b-umvmW9jT

    thanks in advance

    Regards

    • This topic was modified 7 months, 1 week ago by mattt001.
Viewing 15 replies - 1 through 15 (of 15 total)
  • Tevya

    (@thefiddler)

    I’m experiencing the same thing! It just imported the same image over and over, the same amount of times as there were images in the carousel.

    that’s right Tevya.
    I’m experiencing the same issue bug.That’s absolutely bug and I love this wigets so let you know how to fix this bug?

    before
    6 different image photos on instagram.

    after
    6 same images on wordpress.

    that’s really weird function and we can’t say this PLUGIN until now.

    Did Somebody watch this comment or resolved the issue that will be uploaded same photos from instagram to wordpress????
    I’m waiting dev team but they don’t still reply it.

    Same issue here.

    I guess the error is in line 806-810:

    // Keep from double-importing the first image.
    							if ( $p->images->standard_resolution->url === $img_item->images->standard_resolution->url ) {
    								++$index;
    								break;
    							}

    I guess the solution is hidden in this posting!?

    https://stackoverflow.com/questions/23593155/how-to-get-pictures-url-from-instagram-api-json-result

    >Works fine on my blog 🙂

    oh really?I will try the solution within 30 min.
    How should I import the code?

    #1 download via github

    #2 import from local pc

    the error occured ,when I install the plugin.

    #1 download via github DsgnWrks-Instagram-Importer-master
    #2 import from local pc

    Fatal error: Cannot declare class DsgnWrksInstagram, because the name is already in use in /home/users/1/xxx/web/wp-content/plugins/DsgnWrks-Instagram-Importer-master/dsgnwrks-instagram-importer.php on line 1918

    Do i need to uninstall the plugin,before I install brand new shit?

    I did edit the latest dsgnwrks-instagram-importer.php with the workaround as i have another hack running. (it trims the post title to max. 10 words – as i use the instatext to generate the title)

    I did upload it direct onto my FTP then.

    I didnt had to deactivate the plugin etc.

    Tevya

    (@thefiddler)

    I edited those lines and didn’t get any kind of error. But it’s still not working. I re-imported all our posts, and the ones with multiple images still have the same image repeated over and over for the gallery. 🙁

    EDIT: could I get your hack for the title as well? I’d like to put the date in there, or the first 10 words would work great…. Just having it empty when there’s no location set is lame.

    • This reply was modified 1 month, 3 weeks ago by Tevya.
    Tevya

    (@thefiddler)

    Nevermind. I realized that I only modified lines 805-812 when there were a number of other changes. I just replaced the entire file and it works! Thanks so much @hisky .

    Would still like the tweak for the title though. Lots of empty titles right now.

    >Nevermind.

    NO WAY!I already modified the target source but It didn’t work.You should update the plugin at least as corder after you modified.This plugin’s function is uploading to wordpress from instagram,right?Uploading the multiple photos from instagram is extremely fundamentally function for the plugin.You should update the plugin after you modify the code that uploading multiple photos.We are waiting the function over 5 month.Not only me.

    • This reply was modified 1 month, 3 weeks ago by mattt001.
    Tevya

    (@thefiddler)

    I’d update the plugin if I could. I don’t own it, so I can’t. If anyone has any way of getting the Developer’s attention, I’d be happy to have on of my developers put this in an update and push it out. But we’d have to 1st get in contact with them, and 2nd get them to agree to turn it over to us (or at least grant committer access).

    Alternatively, we might be able to fork this plugin and get a new one added in it’s place. If I did that, if want to simplify the settings and such. Plus add alternative info that could be used as a post title.

    Yes, it pulls the images from Instagram into your WP media library.

    Note: I had to do a hard refresh. My browser had cached the images as repeating the 1st one, so is liked like it didn’t work. The hard refresh showed that it had actually imported all the images this time.

    If someone needs my file feel free to contact me.
    Everything works fine with it now.

    See http://www.hisky.de – i did import around 300 instagram postings incl. carusell postings etc.

    Tevya

    (@thefiddler)

    It works fine for me, once I realized I needed to replace the whole file.

    I’m just curious about your modification for the title? I think I’d like to use that as well.

    Its line 983 – 987:

    // Check for a title, or use human readable date format
    $this->insta_title = ! empty( $this->pic->caption->text ) ? $this->pic->caption->text : $date_fallback;
    // Set post title to caption by default
    $this->insta_title_kurz = wp_trim_words( $this->insta_title, 10, ‘…’ );
    $this->import[‘post_title’] = $this->insta_title_kurz;

    I did trim the title to max. 10 words.

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.