Re: [twitter-dev] using max_id with Search API

2010-01-26 Thread Diane Dillihunt
Hi Friends and Family
 I want to invite you to a take a look at this business Opportunity, you
might want earn some extra income or  know someone

that need to  earn some extra income, Please feel free to share this with
your friend and family.

The new company, which is called "$8k A Week", is designed to produce WEEKLY
Residual Income for ALL participants!
FYI: This IS NOT a Private Activity, this is a Real Company, with a real
product and it can be promoted on-line & off-line

like any other legitimate company.
The goal of "$8k A Week" is TO GET PEOPLE PAID, to set people free, to offer
people options in their lives!!!
Though I don't have all the details at this time here's what I know so far:
"$8k A Week" will be based on a unique 3 x 6 stagger filled forced matrix (3
on the 1st level, 6 levels deep) with payout

features never seen before in the MLM industry!

Click the link
http://8kaweek.homestead.com/index.html

712-432-0075  PIN  733856#
Don't forget to bring a date :*)  3 calls a day  same number as above. (
11:00 am, 3:00pm ,6:00pm Pacific
, Steve's Q&A call @ 7:00pm Pacific . 641.715.3300 pin 203472#
 Invite Guests!:
Rosalind Green Will be doing Trainings (recording) them  to help us build
our team.


Magic Power Coffee
www.diane-dillihunt.com
www.diane-dillihunt.info
Diane Dillihunt
619 559-3409

On Mon, Jan 25, 2010 at 4:20 PM, Kevin Fenger wrote:

> Was not including max_id in the Search API documentation an oversight?
> Or is it not meant to be used with the Search API.
>
> Providing a url like this :
> http://search.twitter.com/search.atom?q=kevin&max_id=8210191029,
> returns what looks to be correct results, however, we can't afford to
> not have this work in a couple months.
>
> Any response would be appreciated.
>
> Thanks,
> Kevin
>


Re: [twitter-dev] Limited mutual 'friends'?

2010-01-26 Thread Diane Dillihunt
Hi Friends and Family
 I want to invite you to a take a look at this business Opportunity, you
might want earn some extra income or  know someone

that need to  earn some extra income, Please feel free to share this with
your friend and family.

The new company, which is called "$8k A Week", is designed to produce WEEKLY
Residual Income for ALL participants!
FYI: This IS NOT a Private Activity, this is a Real Company, with a real
product and it can be promoted on-line & off-line

like any other legitimate company.
The goal of "$8k A Week" is TO GET PEOPLE PAID, to set people free, to offer
people options in their lives!!!
Though I don't have all the details at this time here's what I know so far:
"$8k A Week" will be based on a unique 3 x 6 stagger filled forced matrix (3
on the 1st level, 6 levels deep) with payout

features never seen before in the MLM industry!

Click the link
http://8kaweek.homestead.com/index.html

712-432-0075  PIN  733856#
Don't forget to bring a date :*)  3 calls a day  same number as above. (
11:00 am, 3:00pm ,6:00pm Pacific
, Steve's Q&A call @ 7:00pm Pacific . 641.715.3300 pin 203472#
 Invite Guests!:
Rosalind Green Will be doing Trainings (recording) them  to help us build
our team.


Magic Power Coffee
www.diane-dillihunt.com
www.diane-dillihunt.info
Diane Dillihunt
619 559-3409
On Mon, Jan 25, 2010 at 7:19 PM, Abraham Williams <4bra...@gmail.com> wrote:

> The  flag was deprecated in May of last year and as far as I
> know still is.
> http://groups.google.com/group/twitter-development-talk/browse_thread/thread/42ba883b9f8e3c6e?tvc=2
>
> You could use the social graph methods to filter with though.
>
> Abraham
>
> On Sun, Jan 24, 2010 at 13:05, Mark McBride  wrote:
>
>> You can use the statuses/followers endpoint, and filter out any users that
>> don't have the  flag set to true.
>>
>>   ---Mark
>>
>> http://twitter.com/mccv
>>
>>
>>
>> On Sun, Jan 24, 2010 at 5:51 AM, thetwitmaniac wrote:
>>
>>> Hi,
>>>
>>> I've built a twitter desktop app and we are providing the ability to
>>> send DM's to people users are following, whom also follow them.  What
>>> we are seeing though is that we cant pull all 'friends' who meet this
>>> criteria into a users DM list.
>>>
>>> Is there a limit set on how many 'friends' we can pull into our app?
>>>
>>> Thanks in advance.
>>>
>>
>>
>
>
> --
> Abraham Williams | Moved to Seattle | May cause email delays
> Project | Out Loud | http://outloud.labs.poseurtech.com
> Hacker | http://abrah.am | http://twitter.com/abraham
> This email is: [ ] shareable [x] ask first [ ] private.
> Sent from Seattle, WA, United States
>


Re: [twitter-dev] Social Grpah Api Addition

2010-01-26 Thread Diane Dillihunt
Hi Friends and Family
 I want to invite you to a take a look at this business Opportunity, you
might want earn some extra income or  know someone

that need to  earn some extra income, Please feel free to share this with
your friend and family.

The new company, which is called "$8k A Week", is designed to produce WEEKLY
Residual Income for ALL participants!
FYI: This IS NOT a Private Activity, this is a Real Company, with a real
product and it can be promoted on-line & off-line

like any other legitimate company.
The goal of "$8k A Week" is TO GET PEOPLE PAID, to set people free, to offer
people options in their lives!!!
Though I don't have all the details at this time here's what I know so far:
"$8k A Week" will be based on a unique 3 x 6 stagger filled forced matrix (3
on the 1st level, 6 levels deep) with payout

features never seen before in the MLM industry!

Click the link
http://8kaweek.homestead.com/index.html

712-432-0075  PIN  733856#
Don't forget to bring a date :*)  3 calls a day  same number as above. (
11:00 am, 3:00pm ,6:00pm Pacific
, Steve's Q&A call @ 7:00pm Pacific . 641.715.3300 pin 203472#
 Invite Guests!:
Rosalind Green Will be doing Trainings (recording) them  to help us build
our team.


Magic Power Coffee
www.diane-dillihunt.com
www.diane-dillihunt.info
Diane Dillihunt
619 559-3409

On Mon, Jan 25, 2010 at 11:17 AM, Rodeo  wrote:

> Hello,
>
> I have been using the new cursor feature recently release in the api.
> I was wondering if adding the ability to start from the last page of
> the result set was supported or is in the works. In my case starting
> from old followers/friends would greatly reduce de amount of API calls
> i have to do.
>
> Thanks
>
> Luc
>
>
>


Re: [twitter-dev] Couple Local Trends & geo API questions

2010-01-26 Thread M. Edward (Ed) Borasky
On Tue, Jan 26, 2010 at 6:01 PM, Raffi Krikorian  wrote:

to make your life a bit easier, trends/available can optionally take a
> latitude and a longitude, and then it will sort all the available trends
> locations by distance from the given point.
>

Nice!!


>
>
>> Local Trends appear to be rolling out through the web UI, any sense on
>> when the API end points will open up?
>>
>
> as users get access to them through the web UI, the user also gets access
> to the API.  we're racing towards getting all users access to the local
> trends.
>

Thanks!! I'll be watching my browser! ;-)

One other geo question - is there a list somewhere of which clients /
desktop tools send tweets that are geotagged? I can infer some of that by
collecting geotagged tweets from the streaming API and looking at the
"source" field, but I was looking for something like "If you want your
tweets to be geotagged, do this and it will work."

Right now, the context is the Haiti relief effort, but I'm sure there are
other places in the crisis management / mapping universe where a guide like
that would be useful. A small datapoint - I did a Search last night for a
200 km radius around the epicenter and pulled in 7500 tweets total, of which
93 were geotagged.

-- 
M. Edward (Ed) Borasky
http://borasky-research.net

"I've always regarded nature as the clothing of God." ~Alan Hovhaness


Re: [twitter-dev] Couple Local Trends & geo API questions

2010-01-26 Thread Raffi Krikorian
>
> The web ui for “local trends near you” asks users to select a
> geographic area.  Is this solely a web UI thing or will this location
> be available in a user’s profile?  If it’s in a user’s profile, would
> it be a WOEID, something under the existing  element or
> something else entirely?
>

"soon" we will be presenting, through the API, on the  object, what
location the user has selected as his or her local trend place.  it will
probably be presented both as a WOEID, and a link to the trends API call you
can make to get that user's selected trends.


> Ever consider allowing "woeid"s to be used anywhere where a latitude/
> longitude pair could be used? From the draft documentation it appears
> that WOEIDs are solely used in trends, and only as a parameter for
> trends/location, but not trends/available for example, nor in geocoded
> searches.
>

trends/available (
http://apiwiki.twitter.com/Twitter-REST-API-Method:-trends-available)
returns WOEIDs as the list of places that twitter has trends for.  you are
correct, however, in that you cannot issue a search using a WOEID on the
search API.

to make your life a bit easier, trends/available can optionally take a
latitude and a longitude, and then it will sort all the available trends
locations by distance from the given point.


> Local Trends appear to be rolling out through the web UI, any sense on
> when the API end points will open up?
>

as users get access to them through the web UI, the user also gets access to
the API.  we're racing towards getting all users access to the local
trends.

-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi


[twitter-dev] Couple Local Trends & geo API questions

2010-01-26 Thread @epc
The web ui for “local trends near you” asks users to select a
geographic area.  Is this solely a web UI thing or will this location
be available in a user’s profile?  If it’s in a user’s profile, would
it be a WOEID, something under the existing  element or
something else entirely?

Ever consider allowing "woeid"s to be used anywhere where a latitude/
longitude pair could be used? From the draft documentation it appears
that WOEIDs are solely used in trends, and only as a parameter for
trends/location, but not trends/available for example, nor in geocoded
searches.

Local Trends appear to be rolling out through the web UI, any sense on
when the API end points will open up?
--
-ed costello


[twitter-dev] Re: Can new twitter account be created from API?

2010-01-26 Thread Johnny Honestly
Are you saying the last thing twitter wants is for everybody creating
valuable web content to tell/link twitter? If so, I have a company,
and I'm looking for investors.



On Jan 26, 10:05 am, Dmitri Snytkine  wrote:
> If they allow create accounts from API then this is what's going to
> happend:
> All leading online forum software will implement an option to create
> new twitter account for a new forum.
> So if you run an online forum like vbulletin, you can have 100 forums,
> thus 100 accounts on twitter.
>
> This means that every post make to just about every forum on the
> Internet will end up on twitter.
> This will add thousands, tens on thousands of updates per second to
> twitter. I don't know if they really want it.
>
> For the forum owner this may be great - more traffic to their forums,
> for end user also an extra way to follow
> his favorite forums.
>
> I am sure if Twitter allows account creation from API, all major forum
> and blog/CMS makers will jump right it.
>
> On Jan 26, 10:34 am, Zac Bowling  wrote:
>
>
>
> > Strictly speaking, there is an API of sorts to create accounts, but limited
> > to certain partners. Citysearch is using it IIRC. Although it would be great
> > for mobile clients because there isn't a nice mobile web page to create an
> > account so it takes a PC to get started for new users. Seen a note on it on
> > those "leaked" twitter docs on techcrunch a while back, so the twitter guys
> > have been thinking about it.
>
> > On Jan 26, 2010 5:01 AM, "John Meyer"  wrote:
>
> > On 1/25/2010 8:55 PM, Johnny Honestly wrote: > > Twitter is a messenger
> > system. They want people to ...
> > I'm not talking about an API registration, what I'm talking about is either
> > a new URL or a modification of the current URL that allows the user to allow
> > an app where if the person isn't a twitter user it will let them become one,
> > then go back, register the app, and return.


Re: [twitter-dev] Advanced search capability in API?

2010-01-26 Thread Raffi Krikorian
>
> The location filtering does not look at the location information provided
> in user profiles. It only looks at tweets that have been geotagged. So If
> you have location filtering enabled, you won't get any non-geotagged tweets.
> Location specification is by latitude-longitude "boxes" in Streaming rather
> than by circles as it is in Search.
>

here are the differences between search and streaming APIs:

   - for the search API, the location filtering -does- look in the user
   profiles.  in the streaming API, if you are using the geohose, that does
   -not- look in the user profiles;
   - in the search API, location filtering is a radius.  in the streaming
   API, location filtering is a bounding box.

-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi


Re: [twitter-dev] Re: Getting server 500 errors starting on 1/25/2010 using show api

2010-01-26 Thread Raffi Krikorian
i'm confused - what are people seeing?  i'm seeing a 404 on that status, not
a 500.

[ra...@tw-mbp13-raffi twitter (homing_pigeon)]$ *curl -v
http://twitter.com/statuses/show/15527375.xml*
* About to connect() to twitter.com port 80 (#0)
*   Trying 168.143.162.68... connected
* Connected to twitter.com (168.143.162.68) port 80 (#0)
> GET /statuses/show/15527375.xml HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3
OpenSSL/0.9.7l zlib/1.2.3
> Host: twitter.com
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Wed, 27 Jan 2010 00:47:26 GMT
< Server: hi
< X-RateLimit-Limit: 2
< X-Transaction: 1264553246-49270-7281
< Status: 404 Not Found
< Last-Modified: Wed, 27 Jan 2010 00:47:26 GMT
< X-RateLimit-Remaining: 19765
< X-Runtime: 0.02460
< Content-Type: application/xml; charset=utf-8
< Pragma: no-cache
< Content-Length: 150
< X-RateLimit-Class: api_whitelisted
< Cache-Control: no-cache, no-store, must-revalidate, pre-check=0,
post-check=0
< Expires: Tue, 31 Mar 1981 05:00:00 GMT
< X-Revision: DEV
< X-RateLimit-Reset: 1264555010
< Set-Cookie:
_twitter_sess=BAh7CToOcmV0dXJuX3RvIjJodHRwOi8vdHdpdHRlci5jb20vc3RhdHVzZXMv%250Ac2hvdy8xNTUyNzM3NS54bWw6EXRyYW5zX3Byb21wdDA6B2lkIiVkYTI3NTQ0%250AODg1NWI1M2U2YmE0ZDk3ZjUzYTRkOTYyNSIKZmxhc2hJQzonQWN0aW9uQ29u%250AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%253D%253D--c18561191b4733080388d38fa9461b6f851b16dc;
domain=.twitter.com; path=/
< Vary: Accept-Encoding
< Connection: close
<


  /statuses/show/15527375.xml
  No status found with that ID.

* Closing connection #0


On Tue, Jan 26, 2010 at 4:44 PM, Jeffrey Greenberg <
jeffreygreenb...@gmail.com> wrote:

> To be accurate: most  ids do work... We had no httpstatus 500 errors
> for quite a while, so this is new and different and bad behavior.
> We've had a working application that has been functioning for more
> than a year, and way back when these errors were frequent, and then
> Twitter did alot of new/good work and they've all but gone away (at
> least on this api)... until now.
> .
>
>
> On Jan 26, 12:39 pm, Kevin Marshall  wrote:
> > Yes - seems to be a problem for any id other than the example one in
> > the documentation:
> >
> > http://twitter.com/statuses/show/1472669360.xml(works)
> >
> > http://twitter.com/statuses/show/12735452.xml(reports no statuses,
> > but this is my account and so I can confirm that there are statuses
> > there to report -- ashttp://twitter.com/users/show.xml?id=12735452
> > also confirms).
> >
> > BTW - if you use the user_timeline method, I think you can get the
> > same status stuff (
> http://twitter.com/statuses/user_timeline.xml?id=12735452)
> >
> > - Kevin
> >
> > On Tue, Jan 26, 2010 at 3:11 PM, Jeffrey Greenberg
> >
> >
> >
> >  wrote:
> > > For instance:http://twitter.com/statuses/show/15527375.xml
> >
> > > anyone else seeing these?
>



-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi


[twitter-dev] Re: Getting server 500 errors starting on 1/25/2010 using show api

2010-01-26 Thread Jeffrey Greenberg
To be accurate: most  ids do work... We had no httpstatus 500 errors
for quite a while, so this is new and different and bad behavior.
We've had a working application that has been functioning for more
than a year, and way back when these errors were frequent, and then
Twitter did alot of new/good work and they've all but gone away (at
least on this api)... until now.
.


On Jan 26, 12:39 pm, Kevin Marshall  wrote:
> Yes - seems to be a problem for any id other than the example one in
> the documentation:
>
> http://twitter.com/statuses/show/1472669360.xml(works)
>
> http://twitter.com/statuses/show/12735452.xml(reports no statuses,
> but this is my account and so I can confirm that there are statuses
> there to report -- ashttp://twitter.com/users/show.xml?id=12735452
> also confirms).
>
> BTW - if you use the user_timeline method, I think you can get the
> same status stuff (http://twitter.com/statuses/user_timeline.xml?id=12735452)
>
> - Kevin
>
> On Tue, Jan 26, 2010 at 3:11 PM, Jeffrey Greenberg
>
>
>
>  wrote:
> > For instance:http://twitter.com/statuses/show/15527375.xml
>
> > anyone else seeing these?


[twitter-dev] Re: Streaming API in PHP - Any examples or advice?

2010-01-26 Thread phptek
I too am using Phirehose for a similar small no. of tweets.

The general idea with streaming is not to process stuff live "on the
wire" but to parse it into files or a DB and then further process this
data from some additional code.

As an example: I am looking to get geocoded tweets for specific areas
in New Zealand which I can do with Phirehose. The idea with libs like
Phirehose and others is to use it as a base for your own further work.
So what I will do (as soon as I figure out why I'm getting blank lines
out of curl) is perhaps to modify the enqueueStatus() function in
filter-track-geo.php and instead o f using print_r() and printing
everything to the screen, I will create my  own routing to instert the
tweet-data into a DB.

I will then likely create a new Phirehose method (or procedural code
first!) to query the DB and post-process the tweets for specific
keywords.

I do it in this 2-stage process 1). because inserting into a DB first
gives you some 'buffer' from issues that the API states can arise in a
stream and 2). AFAIK you can't concatenate parameters together like
'location' and 'track' as they are logically "Or'd" together (probably
due to the potential for the API to easily overload twitter's servers.

Does any of that make sense? I haven't written any code as yet so
can't give any concrete example, but I'm assuming you are at least
familiar with PHP?

Cheers
Russ

On Jan 27, 7:21 am, maestrojed  wrote:
> For a project I want to collect all tweets containing a keyword and
> store them in a database. I have built this functionality using the
> search api but was missing tweets. I was told to switch to the
> streaming API. You can see that post 
> here:http://groups.google.com/group/twitter-development-talk/browse_thread...
>
> Although using the search API was straight forward, even easy, I am
> quite out of my league with this streaming API. In fact, I have never
> worked with streaming data at all. I have read the documentation and
> the only 2 examples I could find anywhere on the internet. There is a
> PHP library called phirehosehttp://code.google.com/p/phirehose/but
> it only helps with the streaming connection. I am still at a lose as
> to how to process the tweets.. The example included with the phirehose
> library is the most complete example I could find but it states that
> it is not ready for production. This example writes all the tweets to
> a flat file which I guess can then be parsed and stored in a db. Is
> this a necessary step? Could one go straight to the db? Can anyone
> help me out? Of course any example of production ready code would be
> amazingly cool but realistically if someone can point out what issues
> need to be addressed in this code that could help a lot too.
> Here is that example:http://pastebin.com/fe677e00
>
> Maybe I am asking for too much. I know I probably am. I just would
> love to have these tweets stored in my db and know that as it is now I
> don't have the knowledge to confidently release code into production.
> BTW, the keyword I am targeting is not very popular, ~200 tweets a
> week and this project is just to indefinitely store these tweets and
> display them on a web page. i am not building a client or anything
> like that. Its a fairly small project.
>
> This was the other example I worked on and although it worked, the
> author states it is lacking some 
> necessities:http://blog.corunet.com/twitter-alerts-using-twitter-streaming-api/


Re: [twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread ryan alford
It is still a POST, you just don't write the post data to the request.  That
post data is now in the query string where Twitter is expecting it.

Ryan

Sent from my DROID

On Jan 26, 2010 4:32 PM, "eco_bach"  wrote:

Hi Ryan
Changed to 'GET' and it seems I still get the Incorrect signature.
error

And the second time I try to update status, I also get 'This method
requires a POST.' error.


Re: [twitter-dev] Advanced search capability in API?

2010-01-26 Thread M. Edward (Ed) Borasky
For the Search *API*, the geocode (lat,long,radius) is a separate parameter
on the call, *not* part of the "q=" string. If you go to Advanced Search and
type "near:97201 within:25mi", it will work, but if you supply that as a
query to the API it won't. You have to look up the latitude and longitude of
the 97201 zip code and create a geocode parameter.

Just on the off chance someone else cares about happenings within a 25 mile
radius of Portland, Oregon, here's the string I use:

my $pdx_geocode = "45.511795,-122.675629,25mi"; # PDX geocode



On Tue, Jan 26, 2010 at 1:48 PM, Abraham Williams <4bra...@gmail.com> wrote:

> For the Search REST API any of these operators should work. Just include
> them in the with your search terms in q=.
>
> http://search.twitter.com/operators
>
> Abraham
>
>
> On Tue, Jan 26, 2010 at 13:44, M. Edward (Ed) Borasky wrote:
>
>>
>>
>> On Tue, Jan 26, 2010 at 1:34 PM, mapgeek  wrote:
>>
>>> Hi,
>>>
>>> I've scanned some previous posts, along with the API documentation,
>>> but have come up empty handed. So apologies if I ask a question that
>>> has already been asked.
>>>
>>> Is there functionality in the API that equates to the Twitter advanced
>>> search web site? Specifically:
>>>
>>> - choice of language to search in, and restrict results to
>>> - a geographic parameter (location name, lat and lon etc.)
>>> - geographic radius
>>>
>>
>> As far as I know, there's no language filtering built in to Streaming -
>> you'd have to do that in your own processing. However, there is filtering by
>> user, by keyword and by location.
>>
>> The location filtering does not look at the location information provided
>> in user profiles. It only looks at tweets that have been geotagged. So If
>> you have location filtering enabled, you won't get any non-geotagged tweets.
>> Location specification is by latitude-longitude "boxes" in Streaming rather
>> than by circles as it is in Search.
>>
>> --
>> M. Edward (Ed) Borasky
>> http://borasky-research.net
>>
>> "I've always regarded nature as the clothing of God." ~Alan Hovhaness
>>
>
>
>
> --
> Abraham Williams | Moved to Seattle | May cause email delays
> Project | Out Loud | http://outloud.labs.poseurtech.com
> Hacker | http://abrah.am | http://twitter.com/abraham
> This email is: [ ] shareable [x] ask first [ ] private.
> Sent from Seattle, WA, United States
>



-- 
M. Edward (Ed) Borasky
http://borasky-research.net

"I've always regarded nature as the clothing of God." ~Alan Hovhaness


Re: [twitter-dev] Advanced search capability in API?

2010-01-26 Thread Kevin Marshall
I believe all of the params from advanced search can be used with the
search api as well...as an example, using the search.twitter.com
advanced search form produces a url like:

http://search.twitter.com/search?q=&ands=friendstatus&phrase=&ors=¬s=&tag=&lang=en&from=&to=&ref=&near=&within=15&units=mi&since=&until=&rpp=15

Add the same parameters to your search api call and I believe you'll
get the same results.  Hope it helps.

- Kevin
http://wow.ly

On Tue, Jan 26, 2010 at 4:34 PM, mapgeek  wrote:
> Hi,
>
> I've scanned some previous posts, along with the API documentation,
> but have come up empty handed. So apologies if I ask a question that
> has already been asked.
>
> Is there functionality in the API that equates to the Twitter advanced
> search web site? Specifically:
>
> - choice of language to search in, and restrict results to
> - a geographic parameter (location name, lat and lon etc.)
> - geographic radius
>
> Cheers,
> MH
>
>
>


Re: [twitter-dev] Advanced search capability in API?

2010-01-26 Thread Abraham Williams
For the Search REST API any of these operators should work. Just include
them in the with your search terms in q=.

http://search.twitter.com/operators

Abraham

On Tue, Jan 26, 2010 at 13:44, M. Edward (Ed) Borasky wrote:

>
>
> On Tue, Jan 26, 2010 at 1:34 PM, mapgeek  wrote:
>
>> Hi,
>>
>> I've scanned some previous posts, along with the API documentation,
>> but have come up empty handed. So apologies if I ask a question that
>> has already been asked.
>>
>> Is there functionality in the API that equates to the Twitter advanced
>> search web site? Specifically:
>>
>> - choice of language to search in, and restrict results to
>> - a geographic parameter (location name, lat and lon etc.)
>> - geographic radius
>>
>
> As far as I know, there's no language filtering built in to Streaming -
> you'd have to do that in your own processing. However, there is filtering by
> user, by keyword and by location.
>
> The location filtering does not look at the location information provided
> in user profiles. It only looks at tweets that have been geotagged. So If
> you have location filtering enabled, you won't get any non-geotagged tweets.
> Location specification is by latitude-longitude "boxes" in Streaming rather
> than by circles as it is in Search.
>
> --
> M. Edward (Ed) Borasky
> http://borasky-research.net
>
> "I've always regarded nature as the clothing of God." ~Alan Hovhaness
>



-- 
Abraham Williams | Moved to Seattle | May cause email delays
Project | Out Loud | http://outloud.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Seattle, WA, United States


Re: [twitter-dev] Advanced search capability in API?

2010-01-26 Thread M. Edward (Ed) Borasky
On Tue, Jan 26, 2010 at 1:34 PM, mapgeek  wrote:

> Hi,
>
> I've scanned some previous posts, along with the API documentation,
> but have come up empty handed. So apologies if I ask a question that
> has already been asked.
>
> Is there functionality in the API that equates to the Twitter advanced
> search web site? Specifically:
>
> - choice of language to search in, and restrict results to
> - a geographic parameter (location name, lat and lon etc.)
> - geographic radius
>

As far as I know, there's no language filtering built in to Streaming -
you'd have to do that in your own processing. However, there is filtering by
user, by keyword and by location.

The location filtering does not look at the location information provided in
user profiles. It only looks at tweets that have been geotagged. So If you
have location filtering enabled, you won't get any non-geotagged tweets.
Location specification is by latitude-longitude "boxes" in Streaming rather
than by circles as it is in Search.

-- 
M. Edward (Ed) Borasky
http://borasky-research.net

"I've always regarded nature as the clothing of God." ~Alan Hovhaness


[twitter-dev] Advanced search capability in API?

2010-01-26 Thread mapgeek
Hi,

I've scanned some previous posts, along with the API documentation,
but have come up empty handed. So apologies if I ask a question that
has already been asked.

Is there functionality in the API that equates to the Twitter advanced
search web site? Specifically:

- choice of language to search in, and restrict results to
- a geographic parameter (location name, lat and lon etc.)
- geographic radius

Cheers,
MH




[twitter-dev] Streaming API in PHP - Any examples or advice?

2010-01-26 Thread maestrojed
For a project I want to collect all tweets containing a keyword and
store them in a database. I have built this functionality using the
search api but was missing tweets. I was told to switch to the
streaming API. You can see that post here:
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/91786b8a4f5505ca/6b4f177394e14e63?hl=en&lnk=gst&q=maestrojed#6b4f177394e14e63

Although using the search API was straight forward, even easy, I am
quite out of my league with this streaming API. In fact, I have never
worked with streaming data at all. I have read the documentation and
the only 2 examples I could find anywhere on the internet. There is a
PHP library called phirehose http://code.google.com/p/phirehose/ but
it only helps with the streaming connection. I am still at a lose as
to how to process the tweets.. The example included with the phirehose
library is the most complete example I could find but it states that
it is not ready for production. This example writes all the tweets to
a flat file which I guess can then be parsed and stored in a db. Is
this a necessary step? Could one go straight to the db? Can anyone
help me out? Of course any example of production ready code would be
amazingly cool but realistically if someone can point out what issues
need to be addressed in this code that could help a lot too.
Here is that example:
http://pastebin.com/fe677e00

Maybe I am asking for too much. I know I probably am. I just would
love to have these tweets stored in my db and know that as it is now I
don't have the knowledge to confidently release code into production.
BTW, the keyword I am targeting is not very popular, ~200 tweets a
week and this project is just to indefinitely store these tweets and
display them on a web page. i am not building a client or anything
like that. Its a fairly small project.

This was the other example I worked on and although it worked, the
author states it is lacking some necessities:
http://blog.corunet.com/twitter-alerts-using-twitter-streaming-api/


[twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread eco_bach
Hi Ryan
Changed to 'GET' and it seems I still get the Incorrect signature.
error

And the second time I try to update status, I also get 'This method
requires a POST.' error.


[twitter-dev] tweet id

2010-01-26 Thread Johnfromchennai
How to get the tweet id for retweeting. i tryed with following code

  Twitter twitter = new Twitter("username", "password", "https://
twitter.com/");
TwitterStatus tw= twitter.Status.Update("testing");
long id=tw.ID;

when i try to use the id i am getting exception ,B'coz the below url
is not working (404 error)

i am not getting the proper id, but i could able get the tw.Text as
testing.
http://api.twitter.com/1/statuses/retweet/"+id+".xml ";

please help  very urgernt

Thanks
Johnson


Re: [twitter-dev] Re: Getting server 500 errors starting on 1/25/2010 using show api

2010-01-26 Thread Kevin Marshall
Yes - seems to be a problem for any id other than the example one in
the documentation:

http://twitter.com/statuses/show/1472669360.xml (works)

http://twitter.com/statuses/show/12735452.xml (reports no statuses,
but this is my account and so I can confirm that there are statuses
there to report -- as http://twitter.com/users/show.xml?id=12735452
also confirms).

BTW - if you use the user_timeline method, I think you can get the
same status stuff (
http://twitter.com/statuses/user_timeline.xml?id=12735452 )

- Kevin

On Tue, Jan 26, 2010 at 3:11 PM, Jeffrey Greenberg
 wrote:
> For instance: http://twitter.com/statuses/show/15527375.xml
>
> anyone else seeing these?
>


[twitter-dev] Re: Getting server 500 errors starting on 1/25/2010 using show api

2010-01-26 Thread Jeffrey Greenberg
For instance: http://twitter.com/statuses/show/15527375.xml

anyone else seeing these?


Re: [twitter-dev] Re: Mass account creation

2010-01-26 Thread M. Edward (Ed) Borasky
Local news is considered spam if it is annoying. People often think they're
being useful by feeding such stuff as police and fire RSS feeds into Twitter
robotically, but in reality, the people who want to subscribe to those feeds
have done so precisely because they didn't want to get spammed. The rest of
us think it's annoying and hit the spam report button.

Now *news* news - human language tweeted by real live humans - isn't spam.

On Tue, Jan 26, 2010 at 8:15 AM, DenisioDelBoro  wrote:

> Since when local news are considered spam?
>
> On 7 янв, 15:16, Andrew Badera  wrote:
> > I would point them to examples of other apps (local news spammers come
> > to mind) that have recently been blacklisted.
>



-- 
M. Edward (Ed) Borasky
http://borasky-research.net

"I've always regarded nature as the clothing of God." ~Alan Hovhaness


Re: [twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread ryan alford
The hash algorithm can product both upper and lower case letters..

Ryan

On Tue, Jan 26, 2010 at 1:53 PM, eco_bach  wrote:

> Also noticed, minor thing, but your signature ends in '%253d'
>
> Mine in uppercase '%253D'
>


[twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread eco_bach
Also noticed, minor thing, but your signature ends in '%253d'

Mine in uppercase '%253D'


Re: [twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread ryan alford
Yes, you could assume your signature creation is correct for most API calls.
 However, as you see with the update status API call, it has the extra
parameter that is the status.

Ryan

On Tue, Jan 26, 2010 at 1:46 PM, ryan alford wrote:

> Don't do the POST request data.  You do that for Basic Auth, but not for
> OAuth.
>
> Ryan
>
>
> On Tue, Jan 26, 2010 at 1:44 PM, eco_bach  wrote:
>
>> Ryan
>> Since its a POST its part of my request.data.
>>
>> Didn't think I also needed as part of my query string but will try.
>>
>>
>> Do you know if there is an official Twitter Oauth test page  like
>>
>> http://developer.netflix.com/resources/OAuthTest
>> or Google's?
>> http://oauth.googlecode.com/svn/code/javascript/example/signature.html
>>
>> Tried both and getting a different signature value, so my next
>> question is
>> If I receive information back on verify credentials (and no 'incorrect
>> signature' error), am I safe to assume my signature generation is
>> corect?
>>
>
>


Re: [twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread ryan alford
Don't do the POST request data.  You do that for Basic Auth, but not for
OAuth.

Ryan

On Tue, Jan 26, 2010 at 1:44 PM, eco_bach  wrote:

> Ryan
> Since its a POST its part of my request.data.
>
> Didn't think I also needed as part of my query string but will try.
>
>
> Do you know if there is an official Twitter Oauth test page  like
>
> http://developer.netflix.com/resources/OAuthTest
> or Google's?
> http://oauth.googlecode.com/svn/code/javascript/example/signature.html
>
> Tried both and getting a different signature value, so my next
> question is
> If I receive information back on verify credentials (and no 'incorrect
> signature' error), am I safe to assume my signature generation is
> corect?
>


[twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread eco_bach
Ryan
Since its a POST its part of my request.data.

Didn't think I also needed as part of my query string but will try.


Do you know if there is an official Twitter Oauth test page  like

http://developer.netflix.com/resources/OAuthTest
or Google's?
http://oauth.googlecode.com/svn/code/javascript/example/signature.html

Tried both and getting a different signature value, so my next
question is
If I receive information back on verify credentials (and no 'incorrect
signature' error), am I safe to assume my signature generation is
corect?


Re: [twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread ryan alford
I still don't see your status in the query string of the URL.  I see it in
string for the signature, but in your actual URL, it's not there.

This is my entire URL when posting a status update:

http://twitter.com/statuses/update.xml?oauth_consumer_key=**&oauth_nonce=57a0d0d1-89e9-4f73-ac3d-f2f26bb2a56d&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1264530600&oauth_token=36116361-8YRR4w9rRwz7HOc0nYTMmNWjCDrQdFYtnPwsiP7jm&oauth_version=1.0&status=really%20ready%20for%20the%20game%20tonight&oauth_signature=EGq5udax8bM5yuoZhJC0cIbM8uA%3d

notice how my "status" is a query string parameter also.  I don't see that
in yours.

Ryan

On Tue, Jan 26, 2010 at 12:50 PM, eco_bach  wrote:

> Ryan
> Still 'Incorrect signature'
> Here's my BASE signature query string BEFORE % encoding (NOTE all
> SORTED and asterisks for my consumer key!)
>
>
> oauth_consumer_key=&oauth_nonce=16EAFA36-2A91-32A5-4A5C-6BB80EF9B45B&oauth_signature_method=HMAC-
> SHA1&oauth_timestamp=1264527609&oauth_token=9353572-
> G8h52Icbe0cjWIMl59fepUofRxoHzHznhzEwo9oqI&status=having some fun
> getting OAuth and the Twitter api working
>
>
> This is my final request URL, the %253D at the end of my signature
> looks suspect, doubly encoded? But pretty sure worked with verify
> credentials
>
> request.url==http://www.bitstream.ca/twitter/proxy.php?path=http%3A%2F
> %2Ftwitter.com%2Fstatuses%2Fupdate.json%3Foauth_consumer_key
> %3D%26oauth_nonce
> %3D16EAFA36-2A91-32A5-4A5C-6BB80EF9B45B%26oauth_signature_method
> %3DHMAC-SHA1%26oauth_timestamp%3D1264527609%26oauth_token%3D9353572-
> G8h52Icbe0cjWIMl59fepUofRxoHzHznhzEwo9oqI%26oauth_signature
> %3D5QuhEDae4gZHAxel8JVwLwkQ5J4%253D
>


[twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread eco_bach
Ryan
Still 'Incorrect signature'
Here's my BASE signature query string BEFORE % encoding (NOTE all
SORTED and asterisks for my consumer key!)

oauth_consumer_key=&oauth_nonce=16EAFA36-2A91-32A5-4A5C-6BB80EF9B45B&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1264527609&oauth_token=9353572-
G8h52Icbe0cjWIMl59fepUofRxoHzHznhzEwo9oqI&status=having some fun
getting OAuth and the Twitter api working


This is my final request URL, the %253D at the end of my signature
looks suspect, doubly encoded? But pretty sure worked with verify
credentials

request.url==http://www.bitstream.ca/twitter/proxy.php?path=http%3A%2F
%2Ftwitter.com%2Fstatuses%2Fupdate.json%3Foauth_consumer_key
%3D%26oauth_nonce
%3D16EAFA36-2A91-32A5-4A5C-6BB80EF9B45B%26oauth_signature_method
%3DHMAC-SHA1%26oauth_timestamp%3D1264527609%26oauth_token%3D9353572-
G8h52Icbe0cjWIMl59fepUofRxoHzHznhzEwo9oqI%26oauth_signature
%3D5QuhEDae4gZHAxel8JVwLwkQ5J4%253D


[twitter-dev] Getting server 500 errors starting on 1/25/2010 using show api

2010-01-26 Thread Jeffrey Greenberg
Since 2010-01-25 23:19:02   GMT we are seeing 500 server errors which
we haven't seen in a long while. Using the http://twitter.com/users/show.xml
api...  Not on every call though... seems as if some server in your
array/chain is choking somehow?



[twitter-dev] Re: Can new twitter account be created from API?

2010-01-26 Thread Dmitri Snytkine
If they allow create accounts from API then this is what's going to
happend:
All leading online forum software will implement an option to create
new twitter account for a new forum.
So if you run an online forum like vbulletin, you can have 100 forums,
thus 100 accounts on twitter.

This means that every post make to just about every forum on the
Internet will end up on twitter.
This will add thousands, tens on thousands of updates per second to
twitter. I don't know if they really want it.

For the forum owner this may be great - more traffic to their forums,
for end user also an extra way to follow
his favorite forums.

I am sure if Twitter allows account creation from API, all major forum
and blog/CMS makers will jump right it.


On Jan 26, 10:34 am, Zac Bowling  wrote:
> Strictly speaking, there is an API of sorts to create accounts, but limited
> to certain partners. Citysearch is using it IIRC. Although it would be great
> for mobile clients because there isn't a nice mobile web page to create an
> account so it takes a PC to get started for new users. Seen a note on it on
> those "leaked" twitter docs on techcrunch a while back, so the twitter guys
> have been thinking about it.
>
> On Jan 26, 2010 5:01 AM, "John Meyer"  wrote:
>
> On 1/25/2010 8:55 PM, Johnny Honestly wrote: > > Twitter is a messenger
> system. They want people to ...
> I'm not talking about an API registration, what I'm talking about is either
> a new URL or a modification of the current URL that allows the user to allow
> an app where if the person isn't a twitter user it will let them become one,
> then go back, register the app, and return.


[twitter-dev] Re: Mass account creation

2010-01-26 Thread DenisioDelBoro
Since when local news are considered spam?

On 7 янв, 15:16, Andrew Badera  wrote:
> I would point them to examples of other apps (local news spammers come
> to mind) that have recently been blacklisted.


[twitter-dev] Re: Mass account creation

2010-01-26 Thread DenisioDelBoro
Well, it's pretty simple actually. You create a website and make a
number of links to Twitter accounts in a form of catalogue, for
example.

On 7 янв, 15:10, Ken Dobruskin  wrote:
> I can't wait to hear how they plan to interest real people to follow these 
> accounts. More keyword- (or geo-) based @ "replies"? save us!


[twitter-dev] DMs are automatically tweeted (not what I want!) :)

2010-01-26 Thread SDF
I can't find an answer to how or why this is happening nor can I
figure out how to stop the madness :)

Since testing a "tweet this" on a client's site (or so I can narrow
down) my DM's are automatically becoming tweets. This is happening for
auto-dms and personal dms.

So if I receive a dm such as:
abcuser: hi there thanks for the follow

then the tweet that gets posted within 8 hours is:
[abcuser] hi there thanks for the follow
via api

I cannot delete it via tweetdeck but I can from ubertwitter on my
blackberry.

How can I stop it from auto-tweeting my dms? Is there something in the
API that I triggered somehow?

Any help would be appreciated. Thanks!





Re: [twitter-dev] Re: Can new twitter account be created from API?

2010-01-26 Thread Zac Bowling
Strictly speaking, there is an API of sorts to create accounts, but limited
to certain partners. Citysearch is using it IIRC. Although it would be great
for mobile clients because there isn't a nice mobile web page to create an
account so it takes a PC to get started for new users. Seen a note on it on
those "leaked" twitter docs on techcrunch a while back, so the twitter guys
have been thinking about it.

On Jan 26, 2010 5:01 AM, "John Meyer"  wrote:

On 1/25/2010 8:55 PM, Johnny Honestly wrote: > > Twitter is a messenger
system. They want people to ...
I'm not talking about an API registration, what I'm talking about is either
a new URL or a modification of the current URL that allows the user to allow
an app where if the person isn't a twitter user it will let them become one,
then go back, register the app, and return.


[twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread eco_bach
thanks will try that

I know there is the beginners guide to OAuth on the OAuth site, but
came across this excellent walkthru on Vimeo's site
http://www.vimeo.com/api/docs/oauth


Re: [twitter-dev] Re: Can new twitter account be created from API?

2010-01-26 Thread John Meyer

On 1/25/2010 8:55 PM, Johnny Honestly wrote:

Twitter is a messenger system. They want people to use the system.
They also want the people to make of the service what they will. If
they opened it up and made affiliates out of developers and producers,
they would have a free marketing force beyond the twiddle celeb fetish
factor.

If they made API reg, for instance, every new wordpress sign up could
simultaneously become a new twitter user.



I'm not talking about an API registration, what I'm talking about is 
either a new URL or a modification of the current URL that allows the 
user to allow an app where if the person isn't a twitter user it will 
let them become one, then go back, register the app, and return.


Re: [twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-01-26 Thread ryan alford
You need to have the parameter name and value.

Ryan

Sent from my DROID

On Jan 25, 2010 11:47 PM, "eco_bach"  wrote:

Thanks Ryan
I'll have to look into signature creation more closely.
Essentially, if I understand correctly, I am most likely missing the
"status" parameter BEFORE creating the signature.
Would I need to include the status value as well, or is only the
parameter name necessary to create the signature?