<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>140dev &#187; Automated following</title>
	<atom:link href="http://140dev.com/twitter-api-programming-blog/category/automated-following/feed/" rel="self" type="application/rss+xml" />
	<link>http://140dev.com</link>
	<description>Twitter API Programming Tips, Tutorials, Source Code Libraries and Consulting</description>
	<lastBuildDate>Wed, 31 Jul 2019 10:03:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6</generator>
		<item>
		<title>Twitter consultant tip: What not to do when using the Twitter API</title>
		<link>http://140dev.com/twitter-api-programming-blog/twitter-consultant-tip-what-not-to-do-when-using-the-twitter-api/</link>
		<comments>http://140dev.com/twitter-api-programming-blog/twitter-consultant-tip-what-not-to-do-when-using-the-twitter-api/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 16:22:40 +0000</pubDate>
		<dc:creator>Adam Green</dc:creator>
				<category><![CDATA[Automated following]]></category>
		<category><![CDATA[Automated Tweets]]></category>
		<category><![CDATA[Consulting Tips]]></category>

		<guid isPermaLink="false">http://140dev.com/?p=1060</guid>
		<description><![CDATA[I had an unfortunate experience the other day when I tried helping someone out with a Twitter API question on a developer Q&#038;A website. I won&#8217;t list the site&#8217;s name or URL, because I see no reason to give them even more traffic. What I want to do is point out some ways of using [&#8230;]]]></description>
				<content:encoded><![CDATA[<p></p><p>I had an unfortunate experience the other day when I tried helping someone out with a Twitter API question on a developer Q&#038;A website. I won&#8217;t list the site&#8217;s name or URL, because I see no reason to give them even more traffic. What I want to do is point out some ways of using the API that will certainly backfire for any site that uses them, even though I know clients ask for these &#8220;features&#8221; all the time. </p>
<p>I tried replying to the user who asked the question, but first I was asked to register with the site. That&#8217;s reasonable, and keeps down spam. The registration form gave me the chance to register through my Twitter account. I accepted and was shown the standard Twitter OAuth login form that asked me to allow the site to &#8220;access and update&#8221; my account. </p>
<p>When you create a Twitter app for use with OAuth, you can give it Read &#038; Write access to user accounts, or just read access, as I showed in a <a href="http://140dev.com/twitter-api-programming-tutorials/hello-twitter-oauth-php/">recent tutorial</a>. This developers forum must have set up their app with Read &#038; Write access. This seemed excessive, since I just needed to login. I wasn&#8217;t going to allow the site to change my Twitter account, or was I? </p>
<p>I wrote my reply on the site, and when I tried to save it, nothing happened. I tried again with no luck, and gave up. A few hours later, when I looked at my Twitter account, I saw that the developers site had modified my account to follow them on Twitter, and had posted a tweet in my account telling people about the site. These are exactly the type of behaviors that Twitter keeps warning against on the <a href="http://groups.google.com/group/twitter-development-talk">Twitter dev group</a>. A Twitter application should never make any changes to a user&#8217;s account without explicit permission. </p>
<p>The temptation to do these types of things with the API is high, because they are so viral. The app&#8217;s owners get lots of followers, and all the app&#8217;s users deliver an &#8220;endorsement&#8221; to their own followers. But you should never give in to the temptation to build this into an application. Tricking people doesn&#8217;t help you in the long-run. </p>
<p>What was even funnier is how the site reacted when I discovered the problem. I immediately unfollowed them and deleted the tweet they had sent in my name. I also canceled the connection between that site and my Twitter account. At least that part of OAuth worked perfectly. I then tweeted a warning about this site&#8217;s behavior. Their response was to send back a tweet accusing me of lying. I replied that I had a copy of their tweet in my database, because I aggregate all of my tweets with my <a href="http://140dev.com/free-twitter-api-source-code-library/">140dev Twitter framework</a>. They again accused me of making the whole thing up. </p>
<p>So let&#8217;s recap all the ways they managed to piss off a potential user of their site. They tweeted in my account without a warning or my permission, they followed themselves in my account without my permission, and finally they said I was lying when I had proof. I&#8217;ll keep this as one of those stories I tell clients when they ask me to cross the line as a Twitter consultant. </p>
]]></content:encoded>
			<wfw:commentRss>http://140dev.com/twitter-api-programming-blog/twitter-consultant-tip-what-not-to-do-when-using-the-twitter-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
