Jump to content

[RST][PHP] Upload image to your imgur account

Recommended Posts


La cererea lui @sandabot de aici: https://rstforums.com/forum/103516-imgur-upload-api.rst , am facut acest script care uploadeaza imaginile in contul tau de imgur.

Ce trebuie sa faceti:

Va faceti cont pe imgur, va logati si apoi va duceti aici: https://api.imgur.com/oauth2/addclient

Faceti request api pentru OAuth 2 authorization without a callback URL


 <?php error_reporting(0); $user = ""; $pass = ""; $client_id = ""; $client_ - Pastebin.com

Modificati-va usernameul, parola, client_id, client_secret cu ale voastre si imaginea pe care doriti s-o uploadati,

Scriptul este pentru CLI, nu l-am testat pe web, se poate sa mearga.

Edited by askwrite
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...