Support » Plugin: Auto Post WP to Photo Social Network » the plugin does not publish the posts

  • Resolved wilky76

    (@wilky76)


    hello, I just installed the plugin, created an account instagram, connected by entering user and password in the plugin, and then I created 3 articles with text placeholders and a picture in evidence: I published the article but on instagram nothing appears. where am I wrong? thank you

Viewing 14 replies - 1 through 14 (of 14 total)
  • I have tried the plugin and sometimes does not publish the publications, I think it is for the resolution of the featured image, I have tried many images with different resolutions, 800X600, 640X426, 640X356, 984X655, 770X512 etc and they have served me.

    • This reply was modified 2 years, 12 months ago by cavesa10.
    Thread Starter wilky76

    (@wilky76)

    but so you need to have a prominent image of what size?

    Plugin Contributor dufour_l

    (@dufour_l)

    Hello Guys,
    I had the same issue since a few hours today.

    Now I have found a work around that I share with you.

    The root cause of the issue probably came from Instagram in the yway they check the login and password.

    But so far in the plugin code, there is a use of a sub library “mgp25/Instagram-API” and in the way it is used so far there where something like

    $i = new \InstagramAPI\Instagram($username, $password, $debug);

    try {
    $i->login();
    } catch (Exception $e) {
    $e->getMessage();
    exit();
    }

    And the problem come from the phase whith the try section where it tries to authenticate twice the user. This has worked so far, but today it does not work anymore.

    The first line $i = new \InstagramAPI\Instagram($username, $password, $debug); already login the plugin to instagram.

    So to make it works, now I had to put in comment the following lines (Around line 724 to 729 in wp2instagram.php )

    //try {
    // $i->login();
    //} catch (Exception $e) {
    // $e->getMessage();
    // exit();
    //}

    And now my post are shown again in instagram.

    So Roland (The author of the plugin), if you pass here I do not know if this is normal or not or if something needs to be adapted with a new version of the plugin.

    I just wanted to share this tips with all of you.

    Laurent Dufour

    • This reply was modified 2 years, 12 months ago by dufour_l.
    • This reply was modified 2 years, 12 months ago by dufour_l.

    dufour você poderia ser mais especifico, preciso urgentimente corrigir esse erro, sou lego em códigos, me ajude por favor!

    Problema resolvido, muito obrigado!

    Hi,
    I tried the fix, but mine is still not working?
    Has anyone else had good or bad results?

    I tried it, but it also didn’t work for me.

    @dufour_l Thanks for sharing the tip.
    I was editing the file you said and the snippet of code mentioned was already commented.
    Is everything still working for you?

    The developer probably did this when updating the plugin.
    But for me, even with the snippet of commented code, it does not work.

    @egonmarcelo como foi que você resolveu isso ?

    Grato

    Renzo

    Plugin Author Roland Alla

    (@rolandalla91)

    There is a new update , with the @dufour_l suggestion, also the debugging is included.
    You can share the debug response if there is any error

    Thanks to @dufour_l for contribution

    @seila162 depois da atualização, não está funcionando mais. Já tentei voltar pra versão antiga e alterar o código, mas mesmo assim não resolveu.

    Plugin Contributor dufour_l

    (@dufour_l)

    Hello Guys

    Can you please try with the new version 1.4.6 and let us know if is now working for you or not. If not in deug mode, you will have the reason of instagram why the upload of your photo is refused.

    Regards

    Plugin Contributor dufour_l

    (@dufour_l)

    Please try version 1.4.8

    Version 1.4.8 installed and same issue.
    Now I got 404 page…

    PS: Login on Instagem without issues using the same login details. But plugin still not working.

    What can I do now ?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘the plugin does not publish the posts’ is closed to new replies.