[twitter-dev] geotagging

2011-04-03 Thread Nassr zied
Hello,
I'm building a twitter client with windows phone 7 and i want to
localizate a tweet .. does anyone has ideas and help!
Thanks
Nassr Zied

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Twitter search api rate limit

2011-04-03 Thread sduffer
Hi Team,
I am using grackle client to retrieve results from search api of
twitter. i am passing oauth parameter to retrieve 350 requests per
hour. Though I am doing it right it still retrieves me only 150
requests per hour. I tried to verify account/verify_credentials and
found i am passing the correction oauth params.
Here is my dev code with Grackle gem

 twitter_client = Grackle::Client.new(:auth=>{
   :type=>:oauth,
   :consumer_key=>'key,
   :consumer_secret=>'secret',
   :token=> 'token',
   :token_secret=> ''
 },
 :headers => {"User-Agent" => "example.com"})

I am passing User-Agent as I have seen it mentioned in rate limit api
if it is correctly passed we can retrieve 350 requests per hour.
Could you let me know if I am mssing something or should pass anything
with Grackle api call to get 350 requests per hour using oauth.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Twitter Streaming Question ...Automating getting by KW - Cron Job

2011-04-03 Thread Digga
How should I set up a cron job for twitter stream? I have a php file
that consumes and adds data to database ...

f(! ($line = stream_get_line($instream, 2, "\n"))) {

What would be the best way to put that on a cron job, will this go
infinite if I put it on a schedule, or do I need to run the script
every half hour or something?


while(! feof($instream)) {
if(! ($line = stream_get_line($instream, 2, "\n"))) 
{
continue;
}else{
$tweet = json_decode($line);
SaveData($tweet);

}

this how I consume the  tweet, and save it. How can I do this on a
schedule? right now I run it in the browser, do I set this script to
go off every hour or so? or just let it run in the background?

Please let me know.

Sam.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: consistency and ecosystem opportunities

2011-04-03 Thread onuekwusi chidi
"If you are an existing developer of client apps, you can continue to
serve
your user base,"

"Twitter has to revoke literally hundreds of
API tokens / apps a week as part of our trust and safety efforts, in
order
to protect the user experience on our platform. "
Does this mean twitter is no longer granting request Tokens to Third
Party Applications?cause i keep getting  a 401 when i try to get
one...
--Chidi

On Mar 11, 9:18 pm, Ryan Sarver  wrote:
> Hey all, I’d like to give you an update about the state of the Twitter
> Platform and hopefully provide some much requested guidance.
>
> Since this time last year, Twitter use has skyrocketed.  We’ve grown from 48
> million to 140 million tweets a day and we’re registering new accounts at an
> all-time record.  This massive base of users, publishers, and businesses is
> a giant playground for developers to build their own businesses on, and this
> means the opportunity has grown for everyone.
>
> With more people joining Twitter and accessing the service in multiple ways,
> a consistent user experience is more crucial than ever.  As we talked about
> last April, this was our motivation for buying Tweetie and developing our
> own official iPhone app.  It is the reason why we have developed official
> apps for the Mac, iPad, Android and Windows Phone, and worked with RIM on
> their Twitter for Blackberry app. As a result, the top five ways that people
> access Twitter are official Twitter apps.
>
> Still, our user research shows that consumers continue to be confused by the
> different ways that a fractured landscape of third-party Twitter clients
> display tweets and let users interact with core Twitter functions.  For
> example, people get confused by websites or clients that display tweets in a
> way that doesn’t follow our design guidelines, or when services put their
> own verbs on tweets instead of the ones used on Twitter.  Similarly, a
> number of third-party consumer clients use their own versions of suggested
> users, trends, and other data streams, confusing users in our network even
> more.  Users should be able to view, retweet, and reply to @nytimes’ tweets
> the same way; see the same profile information about @whitehouse; and be
> able to join in the discussion around the same trending topics as everyone
> else across Twitter.
>
> *A Consistent User Experience*
> Twitter is a network, and its network effects are driven by users seeing and
> contributing to the network’s conversations.  We need to ensure users can
> interact with Twitter the same way everywhere.  Specifically:
>  - *The mainstream consumer client experience*.  Twitter will provide the
> primary mainstream consumer client experience on phones, computers, and
> other devices by which millions of people access Twitter content (tweets,
> trends, profiles, etc.), and send tweets.  If there are too many ways to use
> Twitter that are inconsistent with one another, we risk diffusing the user
> experience.  In addition, a number of client applications have repeatedly
> violated Twitter’s Terms of Service, including our user privacy policy.
>  This demonstrates the risks associated with outsourcing the Twitter user
> experience to third parties.  Twitter has to revoke literally hundreds of
> API tokens / apps a week as part of our trust and safety efforts, in order
> to protect the user experience on our platform.
>  - *Display of tweets in 3rd-party services*. We need to ensure that tweets,
> and tweet actions, are rendered in a consistent way so that people have the
> same experience with tweets no matter where they are.   For example, some
> developers display “comment”, “like”, or other terms with tweets instead of
>  “follow, favorite, retweet, reply” - thus changing the core functions of a
> tweet.
>
> With this in mind, we’ve updated our Terms of 
> Service:http://dev.twitter.com/pages/api_terms.
>
> *The Opportunity for Developers*
> Developers have told us that they’d like more guidance from us about the
> best opportunities to build on Twitter.  More specifically, developers ask
> us if they should build client apps that mimic or reproduce the mainstream
> Twitter consumer client experience.  The answer is no.
>
> If you are an existing developer of client apps, you can continue to serve
> your user base, but we will be holding you to high standards to ensure you
> do not violate users’ privacy, that you provide consistency in the user
> experience, and that you rigorously adhere to all areas of our Terms of
> Service.  We have spoken with the major client applications in the Twitter
> ecosystem about these needs on an ongoing basis, and will continue to ensure
> a high bar is maintained.
>
> As we point out above, we need to move to a less fragmented world, where
> every user can experience Twitter in a consistent way.  This is already
> happening organically - the number and market share of consumer client apps
> that are not owned or operated by Twitter has been shrinkin

[twitter-dev] oAuth problems with GET params - Incorrect Signature

2011-04-03 Thread estrazulas
After autentication using oAuth Adapter  
(http://developer.appcelerator.com/blog/2010/07/twitter-oauth-implementation-for-titanium-mobile.html),  
i need use verify_credentials method.


This method require GET params. I change code here:

var params = "?true=1";
for (var p in parameterMap) {
Ti.API.debug(p + ': ' + parameterMap[p]);
params += "&"+p+"="+escape(parameterMap[p]);
}
Ti.API.info(pUrl+params);
var client = Ti.Network.createHTTPClient();
client.open('GET', pUrl+params, false);

I only receive this return: "error":"Incorrect signature" but the update  
method of sending parameters through the post works


Im going crazy now, pls help :P
thanks

--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Please help me

2011-04-03 Thread Johan Lim
I've got an error in my twitter client, it showing : "Twitter timed
out

Dabr gave up on waiting for Twitter to respond. They're probably
overloaded right now, try again in a minute.
6:Couldn't resolve host 'api.twitter.com'."
See it at my website http://wassabi.co.tv/tweet/oauth
How to resolve it? Thanks

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Twitter Streaming Question ...Automating getting by KW - Cron Job

2011-04-03 Thread Augusto Santos
User http://code.google.com/p/phirehose/ as deamon. No cron job needed.

On Sun, Apr 3, 2011 at 2:05 AM, Digga  wrote:

> How should I set up a cron job for twitter stream? I have a php file
> that consumes and adds data to database ...
>
> f(! ($line = stream_get_line($instream, 2, "\n"))) {
>
> What would be the best way to put that on a cron job, will this go
> infinite if I put it on a schedule, or do I need to run the script
> every half hour or something?
>
>
>while(! feof($instream)) {
>if(! ($line = stream_get_line($instream, 2,
> "\n"))) {
>continue;
>}else{
>$tweet = json_decode($line);
> SaveData($tweet);
>
> }
>
> this how I consume the  tweet, and save it. How can I do this on a
> schedule? right now I run it in the browser, do I set this script to
> go off every hour or so? or just let it run in the background?
>
> Please let me know.
>
> Sam.
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>



-- 
氣

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Please help me

2011-04-03 Thread Jim Barcelona
I tried running nslookup api.twitter.com and the host resolves and is up:
[foo ~]$ nslookup api.twitter.com
Server: xxx.xxx.xxx.xxx
Address: xxx.xxx.xxx.xxx

Non-authoritative answer:
Name: api.twitter.com
Address: 199.59.148.87
Name: api.twitter.com
Address: 199.59.148.88
Name: api.twitter.com
Address: 199.59.148.20
Name: api.twitter.com
Address: 199.59.148.30

Ping works, too.

Are you able to get an IP address for api.twitter.com from your server?



On Sun, Apr 3, 2011 at 7:10 AM, Johan Lim  wrote:

> I've got an error in my twitter client, it showing : "Twitter timed
> out
>
> Dabr gave up on waiting for Twitter to respond. They're probably
> overloaded right now, try again in a minute.
> 6:Couldn't resolve host 'api.twitter.com'."
> See it at my website http://wassabi.co.tv/tweet/oauth
> How to resolve it? Thanks
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>



-- 
Jim "Barce" Barcelona

ba...@appdevandmarketing.com

http://appdevandmarketing.com/

http://twitter.com/barce

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Can you search for tweets linking to any page within a domain?

2011-04-03 Thread Daniel Choi
Say I have a website at http://instantwatcher.com and I want to search
for all tweets, including ones condensed by TinyURL, that link to any
URL within this domain. Is this possible, and if so how can I do it?
Thank you.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] need twitter spam for a research project

2011-04-03 Thread Jeff Tucker
I'm conducting a research project involving proactively identifying
twitter spam accounts before they actually start spamming.  I've
observed that some spammers attempt to create tweets that look like
they're a legitimate account prior to actually sending spam and my
project is to be able to identify those accounts as soon as they pop
up.

Unfortunately (I can't believe that I'm writing this) I am having a
hard time getting spammers to actually spam me.  Is there any way that
I can somehow get access to the tweets of several dozen spam accounts
(prior to when they're shut down) so that I can see what they're
posting?  Is this possible somehow?

Also, if anyone gets spammed regularly, are you interested in helping
me out with my research?  No guarantee that I'll actually publish
this, but anyone interested will be credited in my paper in the
acknowledgements.  Thanks
-Jeff Tucker
Lecturer, DigiPen Institute of Technology
www.digipen.edu

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] need twitter spam for a research project

2011-04-03 Thread Adam Green
It depends on what type of spam you are looking for. Do you mean tweet
spam, follow spam, or DM spam? For tweet spam, use search.twitter.com
and look for words that have commercial value. To get spam followers,
create a test account and tweet with those same words. They'll find
you. For DM spam, follow back the spam followers. The classic
signature of a spam follower is a screen name made up of a girl's
first name followed by 3-4 digits.

On Sun, Apr 3, 2011 at 9:19 PM, Jeff Tucker  wrote:
> I'm conducting a research project involving proactively identifying
> twitter spam accounts before they actually start spamming.  I've
> observed that some spammers attempt to create tweets that look like
> they're a legitimate account prior to actually sending spam and my
> project is to be able to identify those accounts as soon as they pop
> up.
>
> Unfortunately (I can't believe that I'm writing this) I am having a
> hard time getting spammers to actually spam me.  Is there any way that
> I can somehow get access to the tweets of several dozen spam accounts
> (prior to when they're shut down) so that I can see what they're
> posting?  Is this possible somehow?
>
> Also, if anyone gets spammed regularly, are you interested in helping
> me out with my research?  No guarantee that I'll actually publish
> this, but anyone interested will be credited in my paper in the
> acknowledgements.  Thanks
> -Jeff Tucker
> Lecturer, DigiPen Institute of Technology
> www.digipen.edu
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group: 
> http://groups.google.com/group/twitter-development-talk
>



-- 
Adam Green
Twitter API Consultant and Analyst
http://140dev.com, @140dev
http://2012twit.com, @2012twit
781-879-2960

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Twitter Rate-limiting on the statuses/friends list?

2011-04-03 Thread A. Kumar
Hi, 

I am building a web application using sign-in with twitter and upon signed 
in I am showing user's friends & followers. It's not another twitpic like 
service but in the vertical market (CRM space).

Since sign-in process api calls are authenticated hence will be charged to 
the respective user (I am ok here) But *the real problem is rate-limiting on 
the the friends/followers list* because "GET statuses/friends" (
http://dev.twitter.com/doc/get/statuses/friends) calls do not requires 
authentication and calls are deducted from the calling hosts IP address 
allowance (my website) which are permitted 150 requests per hour which my 
website will reach in few minutes.

Earlier I could have asked for the *white-listing* from twitter but it's not 
offered anymore. This features (friends/followers list) is very very 
important features on my website and without this my website will be 
toothless. Hence I'm very very frustrated. Can somebody help me how do 
resolve this issue? 

Thanks in advance.

A Kumar.



-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


RE: [twitter-dev] Twitter Rate-limiting on the statuses/friends list?

2011-04-03 Thread Tatham Oddie
Just because it doesn't require authentication doesn't mean you can't auth 
anyway.


--
Tatham Oddie
au mob: +61 414 275 989, us cell: +1 213 280 3556, skype: tathamoddie
If you're printing this email, you're doing it wrong. This is a computer, not a 
typewriter.

From: twitter-development-talk@googlegroups.com 
[mailto:twitter-development-talk@googlegroups.com] On Behalf Of A. Kumar
Sent: Monday, 4 April 2011 12:30 PM
To: twitter-development-talk@googlegroups.com
Subject: [twitter-dev] Twitter Rate-limiting on the statuses/friends list?

Hi,
I am building a web application using sign-in with twitter and upon signed in I 
am showing user's friends & followers. It's not another twitpic like service 
but in the vertical market (CRM space).

Since sign-in process api calls are authenticated hence will be charged to the 
respective user (I am ok here) But the real problem is rate-limiting on the the 
friends/followers list because "GET statuses/friends" 
(http://dev.twitter.com/doc/get/statuses/friends) calls do not requires 
authentication and calls are deducted from the calling hosts IP address 
allowance (my website) which are permitted 150 requests per hour which my 
website will reach in few minutes.

Earlier I could have asked for the white-listing from twitter but it's not 
offered anymore. This features (friends/followers list) is very very important 
features on my website and without this my website will be toothless. Hence I'm 
very very frustrated. Can somebody help me how do resolve this issue?

Thanks in advance.

A Kumar.



--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] need twitter spam for a research project

2011-04-03 Thread M. Edward (Ed) Borasky
On Sun, 3 Apr 2011 18:19:38 -0700 (PDT), Jeff Tucker 
 wrote:

I'm conducting a research project involving proactively identifying
twitter spam accounts before they actually start spamming.  I've
observed that some spammers attempt to create tweets that look like
they're a legitimate account prior to actually sending spam and my
project is to be able to identify those accounts as soon as they pop
up.

Unfortunately (I can't believe that I'm writing this) I am having a
hard time getting spammers to actually spam me.  Is there any way 
that

I can somehow get access to the tweets of several dozen spam accounts
(prior to when they're shut down) so that I can see what they're
posting?  Is this possible somehow?

Also, if anyone gets spammed regularly, are you interested in helping
me out with my research?  No guarantee that I'll actually publish
this, but anyone interested will be credited in my paper in the
acknowledgements.  Thanks
-Jeff Tucker
Lecturer, DigiPen Institute of Technology
www.digipen.edu


I don't know how rapidly Twitter detects and shuts spam accounts down 
these days. I imagine there's a priority scheme, with accounts linking 
to malware and pr0n shut down more aggressively than those that are just 
"selling stuff" and being annoying about it. Here's a bit of pseudo-code 
that will get you one class of spammers:


1. Poll the Trending Topics periodically. IIRC if you do it every ten 
minutes for all the localities you won't use up all your API calls per 
hour.


2. Do a search for each trending topic - take the first 100 tweets for 
each. This doesn't cost you any API calls, since it's a search.


3. Now use a relational database to find tweets that match more than 
one trending topic. There's a high probability those are spam. Quite a 
few of the other tweets will be spam too, but those that match multiple 
trends are much more likely to be spam.


4. Now you have a list of accounts - pull their most recent 3200 tweets 
and test your algorithm. You'll probably have to manually go through 
them to find the boundary where the account started spamming, but then 
you should have a nice dataset for a classifier training.



--
http://twitter.com/znmeb http://borasky-research.net

"A mathematician is a device for turning coffee into theorems." -- Paul 
Erdős


--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] X-Ratelimit-Reset, Retry-After, and what the actual values mean

2011-04-03 Thread Arnaud Meunier
Hey Tom,

You probably want to pay the most attention to the "X-RateLimit-Remaining"
header, which is the number of requests you can make before being
rate-limited. It's a good practice to monitor this value and throttle your
requests if necessary.

The X-RateLimit-Reset timestamp indicates when you'll recover the maximum
number of Hits (X-RateLimit-Limit) for the class (X-RateLimit-Class) your
request falls into.

Arnaud / @rno 



On Fri, Apr 1, 2011 at 11:31 AM, Tom Mc  wrote:

> I've been looking at the ratelimiting response headers and have found
> some documentation, but nothing that provides me with sample values
> and what they mean.
>
> I'm developing an application in ColdFusion and using scribe (in java)
> for the OAuth library.
>
> I'm getting the headers back fine (at least X-RateLimit-Reset, I
> haven't hit the ratelimit for Search to see what it looks like yet)
> and I can read them in.  That isn't the problem.  What I'm having
> difficulty with is what the number that actually comes back.
>
> It appears to be a specific time in Seconds since 1/1/1970, but when I
> do the calculations, regardless of if i've hit the rate-limit I always
> get a time back that is 1 hour in the future.  I feel like I'm just
> making a stupid mistake and overlooking something, but any help that
> you can provide would be much appreciated.
>
> Thanks,
>
> Tom McConlogue
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] data-related question

2011-04-03 Thread Arnaud Meunier
Hey Steve,

No suggestion will be made if the user tweeting is already following you.
Cf http://dev.twitter.com/pages/tweet_button#related

By the way, your account is already going to be shown, thanks to the
"data-via" parmeter. There's no need to use "data-related" in your case.

Arnaud / @rno 



On Sat, Apr 2, 2011 at 6:12 PM, Steve Anderson  wrote:

> Hi all, I'm trying to make my button suggest people follow my account
> after they tweet. I've seen this used by other but can't get it to
> work. I suspect I"m not putting the data-related="anywhere:The
> Javascript API" in the right place.
>
> What I"m doing:
>
> http://twitter.com/share"; class="twitter-share-button" data-
> url="http://openmedia.ca/meter"; data-text="@pmharper @m_ignatieff
> @jacklayton @gillesduceppe @elizabethmay Stand up for the Internet
> #elxn41" data-count="horizontal" data-via="openmedia_ca" data-
> related="@openmedia_ca:The Javascript API">Tweethttp://platform.twitter.com/widgets.js";>
>
> For some reason it does not recommend people follow my account when I
> tweet it. Is that what's happening for others? What am I doing wrong?
>
> thanks,
> Steve
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: need twitter spam for a research project

2011-04-03 Thread John Sheehan
You can use my account as an example. I'm currently getting between 50 and 
150 follow spams per day for the last 3 weeks. Here's a graph that 
demonstrates the 'attack' http://screencast.com/t/xl7zcgdYI

If you have any other questions, I'm @johnsheehan and can be reached via 
email same user name at gmail.

John

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Twitter search api rate limit

2011-04-03 Thread Arnaud Meunier
Search API rate limiting is not handled like other endpoints of the REST
API. As explained on http://dev.twitter.com/pages/rate-limiting#search, the
Search Rate Limit isn't made public to discourage unnecessary search usage.

Concerning the User-Agent, use something like "Your App Name - Version" (it
should be unique). Including an HTTP Referer (i.e. "about page" of your app)
is also a good practice :)

Arnaud / @rno 



On Sat, Apr 2, 2011 at 10:05 PM, sduffer  wrote:

> Hi Team,
> I am using grackle client to retrieve results from search api of
> twitter. i am passing oauth parameter to retrieve 350 requests per
> hour. Though I am doing it right it still retrieves me only 150
> requests per hour. I tried to verify account/verify_credentials and
> found i am passing the correction oauth params.
> Here is my dev code with Grackle gem
>
>  twitter_client = Grackle::Client.new(:auth=>{
>   :type=>:oauth,
>   :consumer_key=>'key,
>   :consumer_secret=>'secret',
>   :token=> 'token',
>   :token_secret=> ''
> },
> :headers => {"User-Agent" => "example.com"})
>
> I am passing User-Agent as I have seen it mentioned in rate limit api
> if it is correctly passed we can retrieve 350 requests per hour.
> Could you let me know if I am mssing something or should pass anything
> with Grackle api call to get 350 requests per hour using oauth.
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Re: need twitter spam for a research project

2011-04-03 Thread M. Edward (Ed) Borasky
On Sun, 3 Apr 2011 21:34:54 -0700 (PDT), John Sheehan 
 wrote:
You can use my account as an example. I'm currently getting between 
50
and 150 follow spams per day for the last 3 weeks. Here's a graph 
that

demonstrates the 'attack' http://screencast.com/t/xl7zcgdYI

If you have any other questions, I'm @johnsheehan and can be reached
via email same user name at gmail.

John


Interesting - most of the followers I've been getting are real humans, 
not that they're all that interesting humans. ;-) There was a period 
when I was getting a bunch of followers that were tweeting nonsense, 
sometimes not even real sentences. Eventually one or two them started to 
tweet links. Apparently the way they work is to build a network - if one 
of them follows you and you don't block them, then they copy each other. 
I suppose it's possible to collect data via the API and do graph theory 
analysis on these accounts to isolate the clusters, but it hardly seems 
worth the effort when there are so many accounts just spamming multiple 
trending topics apparently with little interference from Twitter.



--
http://twitter.com/znmeb http://borasky-research.net

"A mathematician is a device for turning coffee into theorems." -- Paul 
Erdős


--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk