Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm trying to use Imgur.com anonymous API to uplad an image and use it in my application. I have the API code in C# as it is given in the imgur website itself. But i don't know how to get the link for that image after uploading it to imgur. Any ideas on hoe to get that? Imgur example is, http://api.imgur.com/examples[^]
Posted
Comments
ledtech3 12-Aug-12 10:05am    
will Getting the information in this line.
string uploadRequestString = "image=" + sb.ToString() + "&key=" + imgurApiKey
and having a textbox or or label = to "uploadRequestString" help any ?
phantomlakshan 12-Aug-12 10:23am    
is that gonna give me something like, http://i.imgur.com/MixIO.png ? from looking at this, i'm not sure
ledtech3 12-Aug-12 12:17pm    
I think it will just give the end part after http://i.imgur.com
Just add a text box to the form and set the textbox1.text = uploadRequestString and see what it gives you.
It is quick to add and just as quick to remove again when you see what you get.
phantomlakshan 12-Aug-12 12:40pm    
I'll try

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900