<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Uploading UIImages to TwitPic</title>
	<atom:link href="http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/</link>
	<description>Our DNA is written in Objective-C</description>
	<lastBuildDate>Fri, 10 Feb 2012 00:06:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jay bharat</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-2533</link>
		<dc:creator>jay bharat</dc:creator>
		<pubDate>Sun, 05 Jun 2011 17:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-2533</guid>
		<description>Really nice link domzilla, thanks for sharing the link.</description>
		<content:encoded><![CDATA[<p>Really nice link domzilla, thanks for sharing the link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1975</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Mon, 21 Feb 2011 18:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1975</guid>
		<description>Thanks for the Acknowledgement &amp; your time.

I am stilling looking to integrate it with my TwitterEngine class.If some how you would get successful the pls let me the same.</description>
		<content:encoded><![CDATA[<p>Thanks for the Acknowledgement &amp; your time.</p>
<p>I am stilling looking to integrate it with my TwitterEngine class.If some how you would get successful the pls let me the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suzuki</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1965</link>
		<dc:creator>suzuki</dc:creator>
		<pubDate>Fri, 18 Feb 2011 02:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1965</guid>
		<description>Great post, you saved my day. Thank you so much.</description>
		<content:encoded><![CDATA[<p>Great post, you saved my day. Thank you so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drops</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1892</link>
		<dc:creator>Drops</dc:creator>
		<pubDate>Wed, 02 Feb 2011 07:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1892</guid>
		<description>Sorry, I cannot help you there. OAuth is still a mystery to me.</description>
		<content:encoded><![CDATA[<p>Sorry, I cannot help you there. OAuth is still a mystery to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1890</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Wed, 02 Feb 2011 06:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1890</guid>
		<description>Hi..,,

      It&#039;s is nice tutorial for twitter. But Dr. Drops can you please guide me how can I integrate this code with Oath.

I want to post image (Twitpic) but how can I do it.I am facing problem while passing the token.

Can you please help me with some code.</description>
		<content:encoded><![CDATA[<p>Hi..,,</p>
<p>      It&#8217;s is nice tutorial for twitter. But Dr. Drops can you please guide me how can I integrate this code with Oath.</p>
<p>I want to post image (Twitpic) but how can I do it.I am facing problem while passing the token.</p>
<p>Can you please help me with some code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drops</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1786</link>
		<dc:creator>Drops</dc:creator>
		<pubDate>Fri, 31 Dec 2010 11:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1786</guid>
		<description>Please use the Flattr button on articles you like and share them via the social sharing buttons.</description>
		<content:encoded><![CDATA[<p>Please use the Flattr button on articles you like and share them via the social sharing buttons.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shashir</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1785</link>
		<dc:creator>shashir</dc:creator>
		<pubDate>Fri, 31 Dec 2010 11:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1785</guid>
		<description>Very Nice code i have implemented them to my project and it is working very fine Thank u let me be always linked with u</description>
		<content:encoded><![CDATA[<p>Very Nice code i have implemented them to my project and it is working very fine Thank u let me be always linked with u</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uploading an image to a SOAP web service - iPhone Dev SDK Forum</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1558</link>
		<dc:creator>uploading an image to a SOAP web service - iPhone Dev SDK Forum</dc:creator>
		<pubDate>Tue, 14 Sep 2010 19:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1558</guid>
		<description>[...] SOAP Messages with Attachments  basically you need header + binary format.   maybe take a look here http://www.drobnik.com/touch/2010/02...es-to-twitpic/     __________________ ZeroTap - FREE        Last edited by dany88; Today at 09:06 [...]</description>
		<content:encoded><![CDATA[<p>[...] SOAP Messages with Attachments  basically you need header + binary format.   maybe take a look here <a href="http://www.drobnik.com/touch/2010/02...es-to-twitpic/" rel="nofollow">http://www.drobnik.com/touch/2010/02&#8230;es-to-twitpic/</a>     __________________ ZeroTap &#8211; FREE        Last edited by dany88; Today at 09:06 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drops</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1557</link>
		<dc:creator>drops</dc:creator>
		<pubDate>Fri, 28 May 2010 19:00:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1557</guid>
		<description>There was something wrong in the blog post due to a problem with angle brackets. Have another look and try again.</description>
		<content:encoded><![CDATA[<p>There was something wrong in the blog post due to a problem with angle brackets. Have another look and try again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MyNameIs</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1556</link>
		<dc:creator>MyNameIs</dc:creator>
		<pubDate>Fri, 28 May 2010 18:09:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1556</guid>
		<description>Hi Dr-Touch
thanks for this great tutorial
but when i implement the &quot;create a scanner&quot; part i get an error. the error is (amp undeclared) !</description>
		<content:encoded><![CDATA[<p>Hi Dr-Touch<br />
thanks for this great tutorial<br />
but when i implement the &#8220;create a scanner&#8221; part i get an error. the error is (amp undeclared) !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wraght</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1555</link>
		<dc:creator>wraght</dc:creator>
		<pubDate>Mon, 19 Apr 2010 08:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1555</guid>
		<description>Thanks for the article. I copy and paste your code and find error: [imageData release]; - must be delete</description>
		<content:encoded><![CDATA[<p>Thanks for the article. I copy and paste your code and find error: [imageData release]; &#8211; must be delete</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 2 Approaches To Twitpic Integration &#124; iPhone and iPad Development Tutorials and Programming Tips</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1554</link>
		<dc:creator>2 Approaches To Twitpic Integration &#124; iPhone and iPad Development Tutorials and Programming Tips</dc:creator>
		<pubDate>Sat, 27 Feb 2010 00:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1554</guid>
		<description>[...] The first tutorial can be found here and the second can be found here. [...]</description>
		<content:encoded><![CDATA[<p>[...] The first tutorial can be found here and the second can be found here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drops</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1553</link>
		<dc:creator>drops</dc:creator>
		<pubDate>Sun, 21 Feb 2010 09:48:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1553</guid>
		<description>I am aware of this technique. However some people might prefer to UNDERSTAND what happens behind the scenes to appreciate different way to performing it. That&#039;s why I explored the barefoot approach.</description>
		<content:encoded><![CDATA[<p>I am aware of this technique. However some people might prefer to UNDERSTAND what happens behind the scenes to appreciate different way to performing it. That&#8217;s why I explored the barefoot approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: domzilla</title>
		<link>http://www.cocoanetics.com/2010/02/uploading-uiimages-to-twitpic/#comment-1552</link>
		<dc:creator>domzilla</dc:creator>
		<pubDate>Sun, 21 Feb 2010 09:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=2132#comment-1552</guid>
		<description>Hi Oliver!

There is a much simpler way to post images on twitpic (or transmitting binary data via http in general).
Do you know asi-http-request? It&#039;s a wrapper around CFNetwork:
http://github.com/pokeb/asi-http-request

With asi-http-request you can do the following:

NSData *imageData = UIImagePNGRepresentation(imageToPost);
NSURL *twitpicURL = [NSURL URLWithString:@&quot;http://twitpic.com/api/uploadAndPost&quot;];

ASIFormDataRequest *request = [[[ASIFormDataRequest alloc] initWithURL:twitpicURL] autorelease];

[request setData:imageData forKey:@&quot;media&quot;];
[request setPostValue:@&quot;myUsername&quot; forKey:@&quot;username&quot;];
[request setPostValue:@&quot;myPassword&quot; forKey:@&quot;password&quot;];
[request setPostValue:@&quot;myMessage&quot; forKey:@&quot;message&quot;];

[request setDelegate:self];
[request setDidFinishSelector:@selector(requestDone:)];
[request setDidFailSelector:@selector(requestFailed:)];

[request start];

That&#039;s all!</description>
		<content:encoded><![CDATA[<p>Hi Oliver!</p>
<p>There is a much simpler way to post images on twitpic (or transmitting binary data via http in general).<br />
Do you know asi-http-request? It&#8217;s a wrapper around CFNetwork:<br />
<a href="http://github.com/pokeb/asi-http-request" rel="nofollow">http://github.com/pokeb/asi-http-request</a></p>
<p>With asi-http-request you can do the following:</p>
<p>NSData *imageData = UIImagePNGRepresentation(imageToPost);<br />
NSURL *twitpicURL = [NSURL URLWithString:@"http://twitpic.com/api/uploadAndPost"];</p>
<p>ASIFormDataRequest *request = [[[ASIFormDataRequest alloc] initWithURL:twitpicURL] autorelease];</p>
<p>[request setData:imageData forKey:@"media"];<br />
[request setPostValue:@"myUsername" forKey:@"username"];<br />
[request setPostValue:@"myPassword" forKey:@"password"];<br />
[request setPostValue:@"myMessage" forKey:@"message"];</p>
<p>[request setDelegate:self];<br />
[request setDidFinishSelector:@selector(requestDone:)];<br />
[request setDidFailSelector:@selector(requestFailed:)];</p>
<p>[request start];</p>
<p>That&#8217;s all!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

