1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

need help with automated tumblr poster, PHP

Discussion in 'PHP & Perl' started by zwyxeeel, Jun 3, 2015.

  1. zwyxeeel

    zwyxeeel Regular Member

    Joined:
    Mar 7, 2015
    Messages:
    352
    Likes Received:
    51
    hi guys!

    I hope im in the right place! ( im not a coder or so please be nice hehe )

    So, to explain the story. I got an automated tumblr poster - Wamp -> localhost -> tumblr.

    now the problem is, my tumblr blog got banned, which means that everything in that PHP script is attached to that blog.

    I tried myself (no experience ) to change OAUTH_TOKEN and OAUTH_SECRET which i understand logicaly needs to be changed each blog.

    here https://api.tumblr.com/console/calls/user/info i entered my CONSUMER_KEY and CONSUMER_SECRET to get my token + secret.

    All i did was paste those two into the .txt

    Then i started my WAMP Server (where i have my http://localhost/tumblr/post.php ) to check if everything works, if it does it should say "respons blbablaba" instead i got http://gyazo.com/0943574e344e13e23e45dcc1afe93dba

    I also changed http://gyazo.com/47bb62a285e0b18e7c2a4ffa4c089508 blogname , from the old to new..


    now u guys that have been going thru this, please help me out? im clueless and also as i said im not a coder.
     
  2. MrBlue

    MrBlue Senior Member

    Joined:
    Dec 18, 2009
    Messages:
    969
    Likes Received:
    678
    Occupation:
    Web/Bot Developer
    You're getting a 404 error. The API endpoint you are using does not exist.

    This is the general format of the Tumblr API endpoint
    Code:
    http://api.tumblr.com/v2/blog/{blogname}/info?api_key={key}
    Take a look at the documentation:
    Code:
    https://www.tumblr.com/docs/en/api/v2#auth
    If you want to send me the code I can try to correct your issue.
     
    Last edited: Jun 4, 2015