[twitter-dev] Re: Basic question re Snowflake/K-sorted

2010-11-04 Thread @Joel_Hughes
Thanks John,
that's the fall back tactic I was considering!

Thanks for your help

Joel

-- 
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: How is the newTwitter getting Replies to this Tweet?

2010-11-04 Thread Abraham Williams
Looks like they changed it. Maybe it didn't scale.

Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.



On Thu, Nov 4, 2010 at 19:11, Orian Marx (@orian) wrote:

> Well, I was super excited to try this out, but it seems like this
> endpoint has changed to only return "related" tweets that pretty much
> aren't related at all. They're just recent tweets to / from the users
> mentioned in the original tweet, not replies to the original tweet.
>
> I have no idea why this would have been changed as whatever you saw,
> Abraham, is way more useful than what's being returned right now.
> Argh! Am I missing something?
>
> On Sep 20, 6:55 pm, Abraham Williams <4bra...@gmail.com> wrote:
> > The related_results/show/status_id method is returning replies to a
> > status_id.
> >
> > Screenshot in the new UI:
> http://www.flickr.com/photos/4braham/5009432215/
> >
> > API call:
> http://app.apigee.com/console/apigee-console-snapshots-128331720_...
> >
> > Abraham
> > -
> > Abraham Williams | Hacker Advocate |http://abrah.am
> > @abraham |http://projects.abrah.am|http://blog.abrah.am
> > This email is: [ ] shareable [x] ask first [ ] private.
> >
> > On Mon, Sep 20, 2010 at 15:30, Taylor Singletary <
> >
> > taylorsinglet...@twitter.com> wrote:
> > > Hi Vega,
> >
> > > #newtwitter uses the same API pattern available to all developers for
> this.
> > > When a status contains an in_reply_to_status_id field, then it is
> considered
> > > a reply to a preceding status, which is then fetched by requesting the
> > > particular status referenced by in_reply_to_status_id.
> >
> > > This is why you'll see that the implementation in #newtwitter doesn't
> list
> > > *replies to* the current status, but instead the original status that
> > > sparked the reply-to. These can be chained but in many cases can never
> show
> > > the whole picture easily.
> >
> > > It would great if we had a statuses/:id/replies method to return all
> > > statuses that reference the original status -- would be very useful in
> this
> > > context.
> >
> > > Taylor
> >
> > > On Mon, Sep 20, 2010 at 2:33 PM, Vega  wrote:
> > > > I have heard the new Twitter only uses the api to display information
> > > > if so how does it get Replies to this Tweet?
> >
> > > > Cheers,
> >
> > > > Edgardo
> >
> > > > --
> > > > 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?hl=en
> >
> > >  --
> > > 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?hl=en
>
> --
> 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] Duplicate tweets showing in the stream

2010-11-04 Thread John Kalucki
I'm assuming that this is on Site Streams. It's very odd that the tweet ids
and created_at timestamps are so very close together. Can you post the raw,
unparsed JSON that you are receiving? Just one example would be sufficient
to get started.

-John Kalucki
http://twitter.com/jkalucki
Twitter, Inc.





On Thu, Nov 4, 2010 at 6:54 PM, Jayrox  wrote:

> Hello,
> I am Jay the developer of tweelay.net /wavehello
>
> I am getting a bunch of tweets duplicated in my stream. I have
> attached a small group of the tweets that were noticed by one of my
> users.
> I have noted which tweets you can actually pull up on twitter.com with
> the "-real" notation and the ones noted as "-dupe" have a unique ID
> but are unable to be pulled up on twitter.com
> I am currently using phirehose (PHP) to consume my tweets from the
> stream.
>
> Twitter_NameTwitter_UID Tweet_IDTweet_Str (truncated by
> phpMyAdmin)   Post_Date  Post_Time
>
> scootinater 10167662322418165948420 I think I'll just lay right
> here
> and take a nap…he... 2010-11-04 19:04:05 -dupe
> scootinater 10167662322418165948416 I think I'll just lay right
> here
> and take a nap…he... 2010-11-04 19:04:05 -real
> scootinater 10167662340148264894460 "Mirror, mirror on the wall
> who
> is the cutest of t... 2010-11-04 20:14:32 -dupe
> scootinater 10167662340148264894464 "Mirror, mirror on the wall
> who
> is the cutest of t... 2010-11-04 20:14:32 -real
> scootinater 10167662339829959172100 And the doctor said "no
> more
> monkeys jumping on th... 2010-11-04 20:13:16 -dupe
> scootinater 10167662339829959172096 And the doctor said "no
> more
> monkeys jumping on th... 2010-11-04 20:13:16 -real
> scootinater 10167662349977012338690 @jayrox hey J! Have a
> teensy
> problem :) (don't you... 2010-11-04 20:53:35 -dupe
> scootinater 10167662349977012338689 @jayrox hey J! Have a
> teensy
> problem :) (don't you... 2010-11-04 20:53:35 -real
> scootinater 10167662352786432659460 @jayrox that is strange??
> 2010-11-04 21:04:45 -dupe
> scootinater 10167662352786432659456 @jayrox that is strange??
> 2010-11-04 21:04:45 -real
>
> --
> 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: foly.net/tw twitter api problem

2010-11-04 Thread Edward Hotchkiss

too busy sorry.

Best,

--
Edward H. Hotchkiss
http://www.edwardhotchkiss.com/
http://www.twitter.com/edwardhotchkiss/
--





On Nov 4, 2010, at 6:57 PM, jotun wrote:


hey edward,

thanks for your help. can you please delete your message from
development talk, hereby our website won't be indexed by google with
such a matter.



On 4 Kasım, 00:06, Edward Hotchkiss 
wrote:

There should be a filter for these questions that just responds with
Abraham's countless responses like that or just spams NTPd! hmmf.

Best,

--
Edward H. 
Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
--

On Nov 3, 2010, at 6:51 PM, Abraham Williams wrote:








Make sure your servers time is correctly synced. If it is more then
five minutes off from Twitter's servers API requests will fail.



Make sure valid consumer keys are being used.



Make sure there is not a firewall or proxy blocking connections to
Twitter.



Abraham
-
Abraham Williams | Hacker Advocate |http://abrah.am
@abraham |http://projects.abrah.am|http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.



On Tue, Nov 2, 2010 at 17:21, jotun  wrote:
We are using twitter oauth on our websitehttp://www.foly.net/tw



However, as you can also observe, we get a warning like "Could not
connect to Twitter. Refresh the page or try again later."
We have tried all possibilities, but we have not been able to fix  
it.


Could you please help us about this problem? It is very urgent for  
us

and for our users.



--
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 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 followers order

2010-11-04 Thread Senthil Kumar
I know that previously there was no particular order in which
followers were displayed. But since newTwitter, i find recent
followers in the beginning of the list. So, we see followers in the
order they started following us?

Any help would be appreciated, thanks,
Senthil 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-dev] Duplicate tweets showing in the stream

2010-11-04 Thread Jayrox
Hello,
I am Jay the developer of tweelay.net /wavehello

I am getting a bunch of tweets duplicated in my stream. I have
attached a small group of the tweets that were noticed by one of my
users.
I have noted which tweets you can actually pull up on twitter.com with
the "-real" notation and the ones noted as "-dupe" have a unique ID
but are unable to be pulled up on twitter.com
I am currently using phirehose (PHP) to consume my tweets from the
stream.

Twitter_NameTwitter_UID Tweet_IDTweet_Str (truncated by
phpMyAdmin)   Post_Date  Post_Time

scootinater 10167662322418165948420 I think I'll just lay right here
and take a nap…he... 2010-11-04 19:04:05 -dupe
scootinater 10167662322418165948416 I think I'll just lay right here
and take a nap…he... 2010-11-04 19:04:05 -real
scootinater 10167662340148264894460 "Mirror, mirror on the wall who
is the cutest of t... 2010-11-04 20:14:32 -dupe
scootinater 10167662340148264894464 "Mirror, mirror on the wall who
is the cutest of t... 2010-11-04 20:14:32 -real
scootinater 10167662339829959172100 And the doctor said "no more
monkeys jumping on th... 2010-11-04 20:13:16 -dupe
scootinater 10167662339829959172096 And the doctor said "no more
monkeys jumping on th... 2010-11-04 20:13:16 -real
scootinater 10167662349977012338690 @jayrox hey J! Have a teensy
problem :) (don't you... 2010-11-04 20:53:35 -dupe
scootinater 10167662349977012338689 @jayrox hey J! Have a teensy
problem :) (don't you... 2010-11-04 20:53:35 -real
scootinater 10167662352786432659460 @jayrox that is strange??
2010-11-04 21:04:45 -dupe
scootinater 10167662352786432659456 @jayrox that is strange??
2010-11-04 21:04:45 -real

-- 
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: How is the newTwitter getting Replies to this Tweet?

2010-11-04 Thread Orian Marx (@orian)
Well, I was super excited to try this out, but it seems like this
endpoint has changed to only return "related" tweets that pretty much
aren't related at all. They're just recent tweets to / from the users
mentioned in the original tweet, not replies to the original tweet.

I have no idea why this would have been changed as whatever you saw,
Abraham, is way more useful than what's being returned right now.
Argh! Am I missing something?

On Sep 20, 6:55 pm, Abraham Williams <4bra...@gmail.com> wrote:
> The related_results/show/status_id method is returning replies to a
> status_id.
>
> Screenshot in the new UI:http://www.flickr.com/photos/4braham/5009432215/
>
> API 
> call:http://app.apigee.com/console/apigee-console-snapshots-128331720_...
>
> Abraham
> -
> Abraham Williams | Hacker Advocate |http://abrah.am
> @abraham |http://projects.abrah.am|http://blog.abrah.am
> This email is: [ ] shareable [x] ask first [ ] private.
>
> On Mon, Sep 20, 2010 at 15:30, Taylor Singletary <
>
> taylorsinglet...@twitter.com> wrote:
> > Hi Vega,
>
> > #newtwitter uses the same API pattern available to all developers for this.
> > When a status contains an in_reply_to_status_id field, then it is considered
> > a reply to a preceding status, which is then fetched by requesting the
> > particular status referenced by in_reply_to_status_id.
>
> > This is why you'll see that the implementation in #newtwitter doesn't list
> > *replies to* the current status, but instead the original status that
> > sparked the reply-to. These can be chained but in many cases can never show
> > the whole picture easily.
>
> > It would great if we had a statuses/:id/replies method to return all
> > statuses that reference the original status -- would be very useful in this
> > context.
>
> > Taylor
>
> > On Mon, Sep 20, 2010 at 2:33 PM, Vega  wrote:
> > > I have heard the new Twitter only uses the api to display information
> > > if so how does it get Replies to this Tweet?
>
> > > Cheers,
>
> > > Edgardo
>
> > > --
> > > 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?hl=en
>
> >  --
> > 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?hl=en

-- 
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: About catching Twitter user status

2010-11-04 Thread ESN
Thanks Ken,

 I already found the same pages as you mentioned.  Any other examples
for beginners? Thanks

On Nov 4, 11:04 am, "Ken D."  wrote:
> you're right, it's pretty hard to find this information.
>
> It's way down in 4th position of a Google search for "Twitter API" 
> :http://dev.twitter.com/doc
>
> On Nov 4, 4:44 am, ESN  wrote:
>
>
>
>
>
>
>
> >  HI,
>
> >  I am beginner of using twitter api. If I want to collect user status
> > from Twitter, what approach should I take?
>
> >  How to use java to collect all users status, if I want to use the
> > jsp / java with Twitter API.
>
> >  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


Re: [twitter-dev] Long representation of Snowflake ids

2010-11-04 Thread Matt Harris
We do this for you by including a string representation of integer IDs in the 
responses. For example id and id_str.

Best,
@themattharris

On Nov 4, 2010, at 16:58, Furkan Kuru  wrote:

> 
> I try to adapt my php code to convert snowflake ids to Long strings. 
> 
> I use 
> 
> $id = sprintf('%.0f', $tweet->{'id'});
> 
> the $id seems to be not correct because i can not reach the tweet with that 
> $id.
> 
> Is there any simple way to convert snowflake id to Long string correctly?
> 
> On Thu, Nov 4, 2010 at 10:51 PM, John Kalucki  wrote:
> 
> -- 
> 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
> 
> 
> 
> -- 
> Furkan Kuru
> -- 
> 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] #newtwitter direct message UI

2010-11-04 Thread Jef Poskanzer
The #newtwitter direct message UI sucks.

- There's no indication on the main UI that you have an unread
message.  If you miss the email notification you will never notice the
message.

- On the DM page, there's no indication of which conversations have
unread messages, or even the most recent messages.  The conversations
are presented in random order.

- When a conversation is displayed, again there is no indication of
which messages are unread or which is the most recent.  Again they are
displayed in random order.

So.  Are there plans to improve it?  Has anyone written their own
improved version?  Anyone want to collaborate on writing one?
---
Jef

-- 
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] Long representation of Snowflake ids

2010-11-04 Thread Furkan Kuru
I try to adapt my php code to convert snowflake ids to Long strings.

I use

$id = sprintf('%.0f', $tweet->{'id'});

the $id seems to be not correct because i can not reach the tweet with that
$id.

Is there any simple way to convert snowflake id to Long string correctly?

On Thu, Nov 4, 2010 at 10:51 PM, John Kalucki  wrote:

>
>  --
> 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
>



-- 
Furkan Kuru

-- 
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: statuses/retweets_of_me returning statuses that haven't been retweeted

2010-11-04 Thread Aaron Rankin
Taylor,

Is there an ETA on this feature? Or are there plans to include info
about distinct retweet actions on a given tweet? Just knowing that a
tweet was retweeted isn't too useful w/o additional API calls IMO.


Thanks,
Aaron

On Oct 6, 4:16 pm, Taylor Singletary 
wrote:
> The retweet_count and retweeted fields are not yet 100% functional.
>
> Taylor
>
> On Wed, Oct 6, 2010 at 2:01 PM, Aaron Rankin wrote:
>
>
>
>
>
>
>
> > I'm seeing a lot of statuses coming back from statuses/retweets_of_me
> > with "retweet_count" set to 0 or null and "retweeted" set to false.
>
> > --
> > 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] Basic question re Snowflake/K-sorted

2010-11-04 Thread John Kalucki
This is good enough, as it's very unlikely that a tweet will be delivered
with an id less than your saved maximum id. If you want to be paranoid, you
can subtract a few seconds from the millisecond part of the id, but this is,
in practice, unlikely to ever happen.

-John Kalucki
http://twitter.com/jkalucki
Twitter, Inc.



On Thu, Nov 4, 2010 at 2:41 PM, @Joel_Hughes  wrote:

> Hi all,
> many apologies if I'm asking a basic question here but I'm looking at
> this new Snowflake ID on the horizon...
>
> My usual logic for processing tweets is something like this:
> - find all tweets I'm interested in with status id > {stored max
> status id}
> - process those tweets
> - store the highest status id of processed tweets for next time round
> - (etc)
>
> ...this way I've got a a kinda sliding window for the processing
> tweets - I don't pull in tweets I know I've already processed (e.g. on
> my tweko.con app)
>
> From what I've seen of Snowflake the ids ARE sequential so the above
> logic should work?
>
> thanks for any thoughts guys - I've TRIED to get my head around k-
> sorted but, quite frankly, I'm not bright enough :)
>
> Joel
>
> --
> 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: Suggestion for new feature ..

2010-11-04 Thread Ken D.
"Favorite"

On Nov 4, 10:17 pm, Ronak Kumar Samantray  wrote:
> It would be super-cool to have this feature. Many a times i just skip the
> tweet for future reference, it would cool if i could mark it somehow..
>
> Ronak Kumar Samantray
> Hyderabad
>
> Mobile : +91-9347290267
>                040-66933916
>
> On Fri, Nov 5, 2010 at 2:32 AM, Edward Hotchkiss 
> > wrote:
> > borat, check out hootsuite. this is a list for dev not end-users.
>
> > Best,
>
> > --
> > Edward H. Hotchkiss
> >http://www.edwardhotchkiss.com/
> >http://www.twitter.com/edwardhotchkiss/
> > --
>
> > On Nov 4, 2010, at 12:03 PM, Alexandre E. Knorst wrote:
>
> >  Hi Guys !!
>
> >> I´m use Twitter for a short time.
>
> >> Sometimes I see important tweets attached with movies and URL links,
> >> but, don´t have time for read on this moment.
> >> It´s possible mark that tweet for read later ???
>
> >> And .. other important feauture will be score for ranking tweets.
>
> >> 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 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] Basic question re Snowflake/K-sorted

2010-11-04 Thread @Joel_Hughes
Hi all,
many apologies if I'm asking a basic question here but I'm looking at
this new Snowflake ID on the horizon...

My usual logic for processing tweets is something like this:
- find all tweets I'm interested in with status id > {stored max
status id}
- process those tweets
- store the highest status id of processed tweets for next time round
- (etc)

...this way I've got a a kinda sliding window for the processing
tweets - I don't pull in tweets I know I've already processed (e.g. on
my tweko.con app)

>From what I've seen of Snowflake the ids ARE sequential so the above
logic should work?

thanks for any thoughts guys - I've TRIED to get my head around k-
sorted but, quite frankly, I'm not bright enough :)

Joel

-- 
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] Suggestion for new feature ..

2010-11-04 Thread Ronak Kumar Samantray
It would be super-cool to have this feature. Many a times i just skip the
tweet for future reference, it would cool if i could mark it somehow..

Ronak Kumar Samantray
Hyderabad

Mobile : +91-9347290267
   040-66933916


On Fri, Nov 5, 2010 at 2:32 AM, Edward Hotchkiss  wrote:

> borat, check out hootsuite. this is a list for dev not end-users.
>
> Best,
>
> --
> Edward H. Hotchkiss
> http://www.edwardhotchkiss.com/
> http://www.twitter.com/edwardhotchkiss/
> --
>
>
>
>
>
> On Nov 4, 2010, at 12:03 PM, Alexandre E. Knorst wrote:
>
>  Hi Guys !!
>>
>> I´m use Twitter for a short time.
>>
>> Sometimes I see important tweets attached with movies and URL links,
>> but, don´t have time for read on this moment.
>> It´s possible mark that tweet for read later ???
>>
>> And .. other important feauture will be score for ranking tweets.
>>
>> 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 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] Suggestion for new feature ..

2010-11-04 Thread Edward Hotchkiss

borat, check out hootsuite. this is a list for dev not end-users.

Best,

--
Edward H. Hotchkiss
http://www.edwardhotchkiss.com/
http://www.twitter.com/edwardhotchkiss/
--





On Nov 4, 2010, at 12:03 PM, Alexandre E. Knorst wrote:


Hi Guys !!

I´m use Twitter for a short time.

Sometimes I see important tweets attached with movies and URL links,
but, don´t have time for read on this moment.
It´s possible mark that tweet for read later ???

And .. other important feauture will be score for ranking tweets.

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 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] 10 minute warning: Snowflake status id jump in 10 minutes: 2:00pm PDT, 14:00 UTC

2010-11-04 Thread John Kalucki


-- 
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: Stream API responds with 401 when multiple keywords are used

2010-11-04 Thread Andrew McCloud
I'm also having the same issue. Though it's only when using a space
(e.g. "hello world") to separate keywords.

I've tried urlencoding spaces as a '+' and as '%20'... no luck.

On Oct 15, 4:31 pm, Tom van der Woerdt  wrote:
> If I am not mistaken, 'value1,value2' URLencodes to 'value1%2Cvalue2'
>
> Tom
>
> On 10/16/10 1:25 AM, Corey Wallis wrote:
>
>
>
>
>
>
>
> > Hi Tom,
>
> > Would you have an example of some values before and after they are
> > encoded?
>
> > It would help me in looking for where the error is.
>
> > With thanks.
>
> > -Corey
>
> > On Oct 15, 11:20 pm, Tom van der Woerdt  wrote:
> >> I'd assume that there would be an error in your signature generation.
> >> Make sure that you properly url-encode all values before putting them in
> >> your base string. Make sure to encode only the correct ones.
>
> >> If you've checked this and it still does not work, please show us the
> >> Base String which you use to generate the signature.
>
> >> Tom
>
> >> On 10/15/10 3:40 AM, Corey Wallis wrote:
>
> >>> Hi All,
>
> >>> I have working code that uses OAuth to connect to theStreamAPI and
> >>> filter using keywords. When I supply a single keyword the API works as
> >>> expected and tweets are returned. What is odd is that when I specify
> >>> multiple keywords, or keywords that include a # symbol I get a401
> >>> UNAUTHORIZED error.
>
> >>> Has anyone seen this before and come up with a successful resolution?
>
> >>> I've captured the HTTP headers of both a successful and unsuccessful
> >>> call and I can't see anything that is different other than the list of
> >>> tracks contains multiple entries. Samples of the headers is below.
>
> >>> This works:
>
> >>> POST /1/statuses/filter.json HTTP/1.1
> >>> Authorization: OAuth oauth_token="###", oauth_consumer_key="###",
> >>> oauth_version="1.0", oauth_signature_method="HMAC-SHA1",
> >>> oauth_timestamp="1287106462", oauth_nonce="-1686656262164231601",
> >>> oauth_signature="###"
> >>> Content-Length: 13
> >>> Content-Type: application/x-www-form-urlencoded
> >>> Host:stream.twitter.com
> >>> Connection: Keep-Alive
> >>> User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
> >>> Expect: 100-Continue
>
> >>> HTTP/1.1 100 Continue
>
> >>> track=twitter
>
> >>> This does not:
>
> >>> POST /1/statuses/filter.json HTTP/1.1
> >>> Authorization: OAuth oauth_token="###", oauth_consumer_key="###",
> >>> oauth_version="1.0", oauth_signature_method="HMAC-SHA1",
> >>> oauth_timestamp="1287105193", oauth_nonce="-3374947181315671264",
> >>> oauth_signature="###"
> >>> Content-Length: 20
> >>> Content-Type: application/x-www-form-urlencoded
> >>> Host:stream.twitter.com
> >>> Connection: Keep-Alive
> >>> User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
> >>> Expect: 100-Continue
>
> >>> HTTP/1.1 100 Continue
>
> >>> track=twitter,lolcat
>
> >>> Any thoughts would be gratefully received.
>
> >>> With thanks.
>
> >>> -Corey

-- 
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] Suggestion for new feature ..

2010-11-04 Thread Alexandre E. Knorst
Hi Guys !!

 I´m use Twitter for a short time.

 Sometimes I see important tweets attached with movies and URL links,
but, don´t have time for read on this moment.
 It´s possible mark that tweet for read later ???

 And .. other important feauture will be score for ranking tweets.

 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] cURL and rate limits

2010-11-04 Thread Ben Saufley
I'm just starting to mess around with a very, very basic call to the
Twitter API (http://api.twitter.com/1/statuses/user_timeline.json) to
pull my tweets to my website through cURL. However, using a page that
nobody knows exists yet (thus eliminating the possibility of
inadvertent traffic), I'm getting a Rate Limit Exceeded thing before
I've had the chance to even test it. It says it resets at 5 past the
hour, so I check again, and for a minute it works but then it's back
to telling me my rate limit is exceeded. A few questions:

First, is the rate limit applied to my server? I would assume so, but
that could make it tough of course. Even one API call per visitor
could, on a site with marginal traffic, easily surpass the rate limit
in an hour. Is there a way to associate the call with the visitor, not
the server? Seems like probably not, but I'm not entirely sure how the
whole API works, and cURL does seem to be advocated in a number of
places. I'm aware that if I use JSON and AJAX the data in I can make
that request from the user, but just for the sake of argument, what
about cURL?

Second, any idea how I could be surpassing my rate limit without even
refreshing the page? I pay for hosting at another location, so I might
be sharing server space with another site, but my site definitely has
a unique IP, so that should … that should be OK, right? So how is it
that I'm surpassing the rate limit without even running the code (or
by running it once?)?

Here's what I've got for code, if it helps:

$ch=curl_init("http://api.twitter.com/1/statuses/user_timeline.json?
screen_name=bensaufley");
curl_setopt_array($ch,array(
CURLOPT_RETURNTRANSFER=>true,
CURLOPT_TIMEOUT=>5,
)
);
$temp=curl_exec($ch);
curl_close($ch);
$results=json_decode($temp,true);

Any help?

-- 
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: Failed to Auth on Japanese OS

2010-11-04 Thread Gary
Yes.  That worked.  The timezone was incorrect.
Thank you.

On Nov 1, 1:02 pm, Taylor Singletary 
wrote:
> When producing an oauth_timestamp for any method requiring authentication,
> the time needs to be indicated in seconds since the "UTC epoch" -- some
> programming languages have Date & Time classes that deal with epoch time
> easily for you, others require more work. In any case, when generating an
> oauth_timestamp, you need to take your local time, convert it to UTC, and
> then calculate epoch seconds in that timezone. Further, the timestamp needs
> to be within ~ 5 minutes of Twitter's server clock. Our server clock is
> reported in the "Date" HTTP header response to each of your requests.
>
> Taylor
>
> On Mon, Nov 1, 2010 at 12:54 PM, Gary  wrote:
> > The system date-time is in sync with local date-time.  Exactly what
> > the English OS is.  I'm not sure what timezone it is set to, though.
> > What else should I take under consideration?  Could it be that the
> > timezone is set to Japan yet the date-time is set to local?  (It's not
> > easy to find my way around this system being that I don't speak/write
> > Japanese.)
>
> > By the way, I have no trouble running two similar apps (on this
> > machine) that talk with YouTube and Facebook apis.
>
> > On Oct 30, 6:10 pm, nischalshetty  wrote:
> > > @Gary oAuth takes the current time into consideration, so that really
> > > needs to be in sync.
>
> > > -N
>
> > > On Oct 31, 2:56 am, Gary  wrote:
>
> > > > I checked and all characters are utf-8 - the auth header and the post
> > > > body.  I tried installing an English OS on the same machine so it's
> > > > not machine specific. I also added charset=utf-8 to the content type
> > > > header: application/x-www-form-urlencoded; charset=utf-8.  Still I get
> > > > the "Failed to validate oauth signature and token".
>
> > > > I'm not sure what the system clock would have to do with it.
>
> > > > On Oct 29, 1:24 pm, Taylor Singletary 
> > > > wrote:
>
> > > > > Are there any other environmental issues, such as the system clock
> > that
> > > > > might be different? Are you absolutely sure that all characters are
> > UTF-8 in
> > > > > both environments, regardless of language?
>
> > > > > Taylor
>
> > > > > On Fri, Oct 29, 2010 at 1:04 PM, Gary  wrote:
> > > > > > I should add that there are no Japanese characters in the message.
> > > > > > It's all English.  In fact I did try adding Japanese characters
> > using
> > > > > > the Engllish OS and that worked fine.  Even when I used a Japanese
> > > > > > character password, the English OS authenticated correctly.
>
> > > > > > On Oct 29, 1:01 pm, Gary  wrote:
> > > > > > > Hi,
>
> > > > > > > I've had great success with the Twitter API until I tried it on a
> > > > > > > Japanese version of Windows.  It fails to "...validate oauth
> > signature
> > > > > > > and token".  I have captured the output using wireshark and the
> > > > > > > outgoing message is identical to the English version of Windows.
> >  This
> > > > > > > does not happen on all Japanese OS machines, though.
>
> > > > > > > Is there a known problem in this area?
>
> > > > > > --
> > > > > > 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 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] Statuses Show not working

2010-11-04 Thread fahdoo
I'm trying to get status data using Javascript/jQuery. I have the
status id and I'm following the api link format here:
http://dev.twitter.com/doc/get/statuses/show/:id

This isn't working and even the examples given on the Twitter
documentation don't work. In fact, in the API Console (http://
dev.twitter.com/console), you can't even select /statuses/show/:id

Any idea what the problem is?

-- 
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: Copying or Importing Twitter Lists

2010-11-04 Thread M. Edward (Ed) Borasky

Quoting Tim Haines :


And it was given a medium priority in June.  I wonder if Twitter can
schedule an API week now that Hack week is done.

T.


Speaking of which, is there a blog post coming from Twitter on what  
came out of "Hack Week"?


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

"A mathematician is a device for turning coffee into theorems." - Paul Erdos



--
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: About catching Twitter user status

2010-11-04 Thread Ken D.
you're right, it's pretty hard to find this information.

It's way down in 4th position of a Google search for "Twitter API" :
http://dev.twitter.com/doc

On Nov 4, 4:44 am, ESN  wrote:
>  HI,
>
>  I am beginner of using twitter api. If I want to collect user status
> from Twitter, what approach should I take?
>
>  How to use java to collect all users status, if I want to use the
> jsp / java with Twitter API.
>
>  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] Re: Upload image with a tweet

2010-11-04 Thread Ken D.
OK, I tested it for you.

Post a tweet containing the URL of a Flickr image, you get the
preview.
Post a tweet containing the URL of your avatar on Twitter, no preview.

Keep searching, you find somewhere it's been mentioned the "media
partners" or some such.

On Nov 4, 3:20 pm, fxbois  wrote:
> Any Twitter developper have a clue about this ... I ve searched a lot
> on the web have found nothing
>
> On Nov 3, 6:27 pm, "Ken D."  wrote:
>
> > Maybe I'm wrong, but doesn't it have to do with *where* the image is
> > hosted? I thought Twitter had a list of recognized rich content
> > websites, à la embed.ly.
>
> > On 3 Nov, 18:09, Edward Hotchkiss  wrote:
>
> > > YOU NEED TO HOST THE IMAGE SOMEWHERE ELSE. Once you upload it  
> > > somewhere else and have a link to it, there is your preview.
>
> > > Best,
>
> > > --
> > > Edward H. 
> > > Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
> > > --
>
> > >  edward.png
> > > 3KViewDownload
>
> > > On Nov 3, 2010, at 4:20 AM, fxbois wrote:
>
> > > > Hi
>
> > > > thanks for your response.
>
> > > > I've tried to include in a tweet the url of an image but I don't have
> > > > the image preview when I click on the tweet and I don't have the
> > > > little picto (top right corner) that shows that the tweet includes an
> > > > image.
>
> > > > I there anything I miss ? Isn't there any hidden param to the
> > > > "publish" method ?
>
> > > > On Nov 2, 7:30 pm, Edward Hotchkiss 
> > > > wrote:
> > > >> No, because it needs to be hosted somewhere else. It's just a
> > > >> shortened link to the pic. You can roll your own.
>
> > > >> Best,
>
> > > >> --
> > > >> Edward H. 
> > > >> Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
> > > >> --
>
> > > >>  edward.png
> > > >> 3KViewDownload
>
> > > >> On Nov 2, 2010, at 6:12 AM, fxbois wrote:
>
> > > >>> Hi,
>
> > > >>> is there any API that can be used to insert an image in a tweet. I
> > > >>> know that I can use external services like twitpic but I would  
> > > >>> prefer
> > > >>> to use an internal twitter API if it exists.
>
> > > >>> Thanks in advance
>
> > > >>> Fx
>
> > > >>> --
> > > >>> 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 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: Upload image with a tweet

2010-11-04 Thread fxbois
Any Twitter developper have a clue about this ... I ve searched a lot
on the web have found nothing

On Nov 3, 6:27 pm, "Ken D."  wrote:
> Maybe I'm wrong, but doesn't it have to do with *where* the image is
> hosted? I thought Twitter had a list of recognized rich content
> websites, à la embed.ly.
>
> On 3 Nov, 18:09, Edward Hotchkiss  wrote:
>
>
>
>
>
>
>
> > YOU NEED TO HOST THE IMAGE SOMEWHERE ELSE. Once you upload it  
> > somewhere else and have a link to it, there is your preview.
>
> > Best,
>
> > --
> > Edward H. 
> > Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
> > --
>
> >  edward.png
> > 3KViewDownload
>
> > On Nov 3, 2010, at 4:20 AM, fxbois wrote:
>
> > > Hi
>
> > > thanks for your response.
>
> > > I've tried to include in a tweet the url of an image but I don't have
> > > the image preview when I click on the tweet and I don't have the
> > > little picto (top right corner) that shows that the tweet includes an
> > > image.
>
> > > I there anything I miss ? Isn't there any hidden param to the
> > > "publish" method ?
>
> > > On Nov 2, 7:30 pm, Edward Hotchkiss 
> > > wrote:
> > >> No, because it needs to be hosted somewhere else. It's just a
> > >> shortened link to the pic. You can roll your own.
>
> > >> Best,
>
> > >> --
> > >> Edward H. 
> > >> Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
> > >> --
>
> > >>  edward.png
> > >> 3KViewDownload
>
> > >> On Nov 2, 2010, at 6:12 AM, fxbois wrote:
>
> > >>> Hi,
>
> > >>> is there any API that can be used to insert an image in a tweet. I
> > >>> know that I can use external services like twitpic but I would  
> > >>> prefer
> > >>> to use an internal twitter API if it exists.
>
> > >>> Thanks in advance
>
> > >>> Fx
>
> > >>> --
> > >>> 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 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] followers of followers count

2010-11-04 Thread joelkeepup
Is there an efficient way to do this? for now im getting folllower ids
and then looping through each and getting their follower ids, then
adding them together. This seems to work, but chews up lots of api
call quota.

thanks
Joel

-- 
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] Where to get Twitter API

2010-11-04 Thread hazel_eve
Hi! I am new to Twitter development. Can you please help me where to
download Twitter API for iOS?

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] About catching Twitter user status

2010-11-04 Thread ESN
 HI,

 I am beginner of using twitter api. If I want to collect user status
from Twitter, what approach should I take?

 How to use java to collect all users status, if I want to use the
jsp / java with Twitter API.


 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] Re: foly.net/tw twitter api problem

2010-11-04 Thread jotun
The problem is still open. More concrete suggestions please!!


On 4 Kasım, 00:06, Edward Hotchkiss 
wrote:
> There should be a filter for these questions that just responds with  
> Abraham's countless responses like that or just spams NTPd! hmmf.
>
> Best,
>
> --
> Edward H. 
> Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
> --
>
> On Nov 3, 2010, at 6:51 PM, Abraham Williams wrote:
>
>
>
>
>
>
>
> > Make sure your servers time is correctly synced. If it is more then  
> > five minutes off from Twitter's servers API requests will fail.
>
> > Make sure valid consumer keys are being used.
>
> > Make sure there is not a firewall or proxy blocking connections to  
> > Twitter.
>
> > Abraham
> > -
> > Abraham Williams | Hacker Advocate |http://abrah.am
> > @abraham |http://projects.abrah.am|http://blog.abrah.am
> > This email is: [ ] shareable [x] ask first [ ] private.
>
> > On Tue, Nov 2, 2010 at 17:21, jotun  wrote:
> > We are using twitter oauth on our websitehttp://www.foly.net/tw
>
> > However, as you can also observe, we get a warning like "Could not
> > connect to Twitter. Refresh the page or try again later."
> > We have tried all possibilities, but we have not been able to fix it.
>
> > Could you please help us about this problem? It is very urgent for us
> > and for our users.
>
> > --
> > 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 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 and Google Maps

2010-11-04 Thread peter mitchell
I'm looking for some help in setting up twitter on my google maps.



I have the maps already set up which allows the user to enter a
postcode and it zooms to that location.

I was wondering if anyone had any tutorials or would be willing to
give a bit of advice/help on how to incorporate displaying tweets
using a certain hashtag (posted within a timeframe of 14 days) and
within a distance radius from the location entered by the user?



Any help would be greatly appreciated.


Thank you in advance

Peter

-- 
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] Site Streams: A to Z tutorial, starting at step zero.

2010-11-04 Thread 12dCode
Let's assume Twitter is all the rage and suddenly, 250,000 people are
following Twitter API's every breath.

Let's also assume that this surge of people have never worked at
Twitter, and thus, are not privy to the internal policies that craft
API direction.

In fact, let's take it a step further and assume that a good 80% of
them are entry-level coders who like the Internet and want to give
back.  They are good, eager, hard-working developers who only want to
help you help them help you.  Helpingly.

In this scenario, where would one of the 80% find a comprehensie A to
Z tutorial explaining how to get started using Site Streams?  The
tutorial should be the following:

- It should assume everyone starts at Step Zero.  (Meaning, it should
assume the programmer has no knowledge of any proprietary Twitter
technologies)
- It should not be written in high-level, agnostic project manager/VP
speak.
- It should contain copious code examples of fundamental steps
required to get started without suggesting the usage of all-in-one
packages.
- The tutorial should not be a disjointed mishmosh of documents
floating around the Intrablarg.  It should be a continuos, context-
laden document explaining everything as if causality was still a
guiding law of Physics.

Does such a document exist?

-- 
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: XAuth authentication fail on Chinese machine

2010-11-04 Thread engine.start
Have you test your singnatrue by the way http://quonos.nl/oauthTester support ? 
(not only the base)
And have you captured your request ? Maybe youshould do this job first, and 
then again on a non-chinesemachine,
you will get the answer.





At 2010-11-04 16:20:05,pawan  wrote:

>Hi,
>
>Thanx for reply but still in reply I got same problem (The remote
>server returned an error: (401) Unauthorized.). I add  this line in my
>web request webRequest.Headers.Add("Accept-Language: zh-CN,en,*");
>But no sucess.
>:(
>
>On Nov 3, 11:03 am, "engine.start" <477914...@163.com> wrote:
>> Hi,
>> Your problem maybe same as mine.
>>
>> chang url to another website, do not use ssl, wireshark your request, and 
>> then compare with this, maybe it will work.
>> (I use libcurl, and add "User-Agent: Mozilla/5.0" to httpheader, and it work)
>>
>> POST ?x_auth_username=###&x_auth_password=&x_auth_mode=client_auth 
>> HTTP/1.1
>> Authorization: OAuth 
>> oauth_consumer_key="#",oauth_signature_method="HMAC-SHA1",oauth_signature="",oauth_timestamp="1288593077",oauth_nonce="9TPwvl28NeTtKLZH",oauth_version="1.0"
>> Content-Length: 0
>> Connection: Keep-Alive
>> Accept-Encoding: gzip
>> Accept-Language: zh-CN,en,*
>> User-Agent: Mozilla/5.0
>> Host:www.XX.com
>>
>> Content-Type: application/x-www-form-urlencoded
>>
>> At 2010-11-03 13:18:16,pawan  wrote:
>>
>> >Thanks for reply but after using thishttp://quonos.nl/oauthTesterURL
>> >I got my base string is ok and still I not able to find out how to
>> >resolve this issue.
>>
>> >On Nov 2, 12:32 am, Tom van der Woerdt  wrote:
>> >> Hi,
>>
>> >> Most 401 Unauthorized errors (and especially the ones involving UTF8
>> >> characters) are because of errors in the Base String, used to generate
>> >> the signature.
>>
>> >> Please use the validation tool at , it may
>> >> help you a lot with validating your Base String. As access_token always
>> >> involves usernames and passwords, please do substitute them with dummy
>> >> ones for security reasons - just make sure that they at least look like
>> >> the previous ones, because otherwise it would be hard to detect encoding
>> >> issues.
>>
>> >> Tom
>>
>> >> PS: When dealing with encoding issues, XX'ing the values really
>> >> doesn't help.
>>
>> >> On 11/1/10 6:58 PM, pawan wrote:
>>
>> >> > Hi,
>>
>> >> > We have created a Desktop Twitter application, In this application I
>> >> > have usedXAuthfeature to get data from "Twitter API". It works fine
>> >> > on Win 7 Ultimatemachine. However when I run my application's exe on
>> >> > core "Chinese" Win 7machine, I got "The remote server returned an
>> >> > error: (401) Unauthorized." error from following request:
>>
>> >> >https://api.twitter.com/oauth/access_token?oauth_consumer_key=XXX...
>>
>> >> > Can anyone help me out to know how to resolve this issue.
>>
>> >> > Thanks,
>> >> > Pawan
>>
>> >--
>> >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 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: Copying or Importing Twitter Lists

2010-11-04 Thread Edward Hotchkiss
[doubt it] but that would be solid. and further my belief in the  
twitter api


Best,

--
Edward H. Hotchkiss
http://www.edwardhotchkiss.com/
http://www.twitter.com/edwardhotchkiss/
--




On Nov 4, 2010, at 4:06 AM, Tim Haines wrote:

And it was given a medium priority in June.  I wonder if Twitter can  
schedule an API week now that Hack week is done.


T.



On Thu, Nov 4, 2010 at 4:08 PM, Orian Marx (@orian) > wrote:

We're actually only a bit more than a month away from the one year
mark from when this was first requested, yay!

Here it is: http://code.google.com/p/twitter-api/issues/detail?id=1296
This ticket was merged: 
http://code.google.com/p/twitter-api/issues/detail?id=1657

On Nov 3, 5:39 pm, Quy  wrote:
> I know I can page but can I get more than 20 members somehow from
> another call? Maybe Twitter can great another social graph API that
> returns 500 members in one API call like we can do today for  
friends/

> followers.
>
> Quy
>
> On Nov 2, 8:20 pm, Edward Hotchkiss 
> wrote:
>
>
>
>
>
>
>
> > paging. look for obj->next_cursor_str, begin with "-1" <- it's a  
string

>
> > Best,
>
> > --
> > Edward H. 
Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
> > --
>
> >  edward.png
> > 3KViewDownload
>
> > On Nov 2, 2010, at 9:10 PM, Quy wrote:
>
> > > Is there a better way to grab all the members of list? This  
API call
> > > only returns 20 members at a time so it'll take 25 calls to  
get a 500

> > > member list:
>
> > >http://dev.twitter.com/doc/get/:user/:list_id/members
>
> > > Quy
>
> > > On Nov 2, 12:29 pm, "Ken D."  wrote:
> > >> Don't know of any public tool, but as you suggest it won't be  
hard to

> > >> make one.
>
> > >> If you were planning to use the list /create_all method, see  
this
> > >> thread first:https://groups.google.com/group/twitter- 
development-

> > >> talk/browse_threa...
>
> > >> On Nov 2, 7:54 pm, Quy  wrote:
>
> > >>> Is there a tool out there that allows me to copy a Twitter  
List? For
> > >>> example, I've created a new account and wanted to migrate my  
Twitter
> > >>> Lists over to this new account or I want to copy an existing  
public

> > >>> Twitter List and edit it to my liking.
>
> > >>> I'm thinking of creating a simple tool using the Twitter API  
but

> > >>> will
> > >>> this hit any rate limiting if this is a public tool?
>
> > >>> Quy
>
> > > --
> > > 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 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: XAuth authentication fail on Chinese machine

2010-11-04 Thread pawan
Hi,

Thanx for reply but still in reply I got same problem (The remote
server returned an error: (401) Unauthorized.). I add  this line in my
web request webRequest.Headers.Add("Accept-Language: zh-CN,en,*");
But no sucess.
:(

On Nov 3, 11:03 am, "engine.start" <477914...@163.com> wrote:
> Hi,
> Your problem maybe same as mine.
>
> chang url to another website, do not use ssl, wireshark your request, and 
> then compare with this, maybe it will work.
> (I use libcurl, and add "User-Agent: Mozilla/5.0" to httpheader, and it work)
>
> POST ?x_auth_username=###&x_auth_password=&x_auth_mode=client_auth 
> HTTP/1.1
> Authorization: OAuth 
> oauth_consumer_key="#",oauth_signature_method="HMAC-SHA1",oauth_signature="",oauth_timestamp="1288593077",oauth_nonce="9TPwvl28NeTtKLZH",oauth_version="1.0"
> Content-Length: 0
> Connection: Keep-Alive
> Accept-Encoding: gzip
> Accept-Language: zh-CN,en,*
> User-Agent: Mozilla/5.0
> Host:www.XX.com
>
> Content-Type: application/x-www-form-urlencoded
>
> At 2010-11-03 13:18:16,pawan  wrote:
>
> >Thanks for reply but after using thishttp://quonos.nl/oauthTesterURL
> >I got my base string is ok and still I not able to find out how to
> >resolve this issue.
>
> >On Nov 2, 12:32 am, Tom van der Woerdt  wrote:
> >> Hi,
>
> >> Most 401 Unauthorized errors (and especially the ones involving UTF8
> >> characters) are because of errors in the Base String, used to generate
> >> the signature.
>
> >> Please use the validation tool at , it may
> >> help you a lot with validating your Base String. As access_token always
> >> involves usernames and passwords, please do substitute them with dummy
> >> ones for security reasons - just make sure that they at least look like
> >> the previous ones, because otherwise it would be hard to detect encoding
> >> issues.
>
> >> Tom
>
> >> PS: When dealing with encoding issues, XX'ing the values really
> >> doesn't help.
>
> >> On 11/1/10 6:58 PM, pawan wrote:
>
> >> > Hi,
>
> >> > We have created a Desktop Twitter application, In this application I
> >> > have usedXAuthfeature to get data from "Twitter API". It works fine
> >> > on Win 7 Ultimatemachine. However when I run my application's exe on
> >> > core "Chinese" Win 7machine, I got "The remote server returned an
> >> > error: (401) Unauthorized." error from following request:
>
> >> >https://api.twitter.com/oauth/access_token?oauth_consumer_key=XXX...
>
> >> > Can anyone help me out to know how to resolve this issue.
>
> >> > Thanks,
> >> > Pawan
>
> >--
> >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: Copying or Importing Twitter Lists

2010-11-04 Thread Tim Haines
And it was given a medium priority in June.  I wonder if Twitter can
schedule an API week now that Hack week is done.

T.



On Thu, Nov 4, 2010 at 4:08 PM, Orian Marx (@orian) wrote:

> We're actually only a bit more than a month away from the one year
> mark from when this was first requested, yay!
>
> Here it is: http://code.google.com/p/twitter-api/issues/detail?id=1296
> This ticket was merged:
> http://code.google.com/p/twitter-api/issues/detail?id=1657
>
> On Nov 3, 5:39 pm, Quy  wrote:
> > I know I can page but can I get more than 20 members somehow from
> > another call? Maybe Twitter can great another social graph API that
> > returns 500 members in one API call like we can do today for friends/
> > followers.
> >
> > Quy
> >
> > On Nov 2, 8:20 pm, Edward Hotchkiss 
> > wrote:
> >
> >
> >
> >
> >
> >
> >
> > > paging. look for obj->next_cursor_str, begin with "-1" <- it's a string
> >
> > > Best,
> >
> > > --
> > > Edward H. Hotchkisshttp://
> www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
> > > --
> >
> > >  edward.png
> > > 3KViewDownload
> >
> > > On Nov 2, 2010, at 9:10 PM, Quy wrote:
> >
> > > > Is there a better way to grab all the members of list? This API call
> > > > only returns 20 members at a time so it'll take 25 calls to get a 500
> > > > member list:
> >
> > > >http://dev.twitter.com/doc/get/:user/:list_id/members
> >
> > > > Quy
> >
> > > > On Nov 2, 12:29 pm, "Ken D."  wrote:
> > > >> Don't know of any public tool, but as you suggest it won't be hard
> to
> > > >> make one.
> >
> > > >> If you were planning to use the list /create_all method, see this
> > > >> thread first:https://groups.google.com/group/twitter-development-
> > > >> talk/browse_threa...
> >
> > > >> On Nov 2, 7:54 pm, Quy  wrote:
> >
> > > >>> Is there a tool out there that allows me to copy a Twitter List?
> For
> > > >>> example, I've created a new account and wanted to migrate my
> Twitter
> > > >>> Lists over to this new account or I want to copy an existing public
> > > >>> Twitter List and edit it to my liking.
> >
> > > >>> I'm thinking of creating a simple tool using the Twitter API but
> > > >>> will
> > > >>> this hit any rate limiting if this is a public tool?
> >
> > > >>> Quy
> >
> > > > --
> > > > 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 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: Copying or Importing Twitter Lists

2010-11-04 Thread Orian Marx (@orian)
We're actually only a bit more than a month away from the one year
mark from when this was first requested, yay!

Here it is: http://code.google.com/p/twitter-api/issues/detail?id=1296
This ticket was merged: 
http://code.google.com/p/twitter-api/issues/detail?id=1657

On Nov 3, 5:39 pm, Quy  wrote:
> I know I can page but can I get more than 20 members somehow from
> another call? Maybe Twitter can great another social graph API that
> returns 500 members in one API call like we can do today for friends/
> followers.
>
> Quy
>
> On Nov 2, 8:20 pm, Edward Hotchkiss 
> wrote:
>
>
>
>
>
>
>
> > paging. look for obj->next_cursor_str, begin with "-1" <- it's a string
>
> > Best,
>
> > --
> > Edward H. 
> > Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
> > --
>
> >  edward.png
> > 3KViewDownload
>
> > On Nov 2, 2010, at 9:10 PM, Quy wrote:
>
> > > Is there a better way to grab all the members of list? This API call
> > > only returns 20 members at a time so it'll take 25 calls to get a 500
> > > member list:
>
> > >http://dev.twitter.com/doc/get/:user/:list_id/members
>
> > > Quy
>
> > > On Nov 2, 12:29 pm, "Ken D."  wrote:
> > >> Don't know of any public tool, but as you suggest it won't be hard to
> > >> make one.
>
> > >> If you were planning to use the list /create_all method, see this
> > >> thread first:https://groups.google.com/group/twitter-development-
> > >> talk/browse_threa...
>
> > >> On Nov 2, 7:54 pm, Quy  wrote:
>
> > >>> Is there a tool out there that allows me to copy a Twitter List? For
> > >>> example, I've created a new account and wanted to migrate my Twitter
> > >>> Lists over to this new account or I want to copy an existing public
> > >>> Twitter List and edit it to my liking.
>
> > >>> I'm thinking of creating a simple tool using the Twitter API but  
> > >>> will
> > >>> this hit any rate limiting if this is a public tool?
>
> > >>> Quy
>
> > > --
> > > 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