[twitter-dev] Getting any users home timeline

2009-09-03 Thread dp

So the statuses/friends_timeline api call gives an authentated users
and his friends statuses. Basically that authentacted users home
page.

Now is there any similar way to get any users home timeline.  statuses/
user_timeline gives the statuses for any user specified by a userid.
But it gives what is posted by them only.

An e.g to clear things up

User X is authenticated through API.
the App makes a call and gets his home timeline using statuses/
friends_timeline .

User X has a friend User Y.  App can call statuses/user_timeline  for
user Y but that will return only User Ys statutes (which can also be
got from statuses/friends_timeline  earlier).

What i want is an easy way so the the App can get User Y;s home time-
line ( User Ys statuses as well User Y friends statuses).

One can find User Ys friends and then call statuses/user_timeline for
each of friend to get what i want. Seems to expensive in terms of api
calls

Any better way of doing this? i could not see the api supporting this
directly.

--dharmesh


[twitter-dev] Re: if you will be using the Geolocation API ...

2009-09-03 Thread Abir

Thanks Raffi, appreciate the info.

Abir

On Sep 3, 9:09 am, Raffi Krikorian  wrote:
> hey abir.
>
> > Great discussion, thegeolocationcode is exciting opens up so many
> > possibilities.
>
> thanks! we're excited as well.
>
> > 1. Would you guys consider thegeolocationcode, opt-in on a tweet
> > basis?  It would be an optional input on a tweet basis with the
> > default=off;  This way users can choose, "Hey, I am walking down
> > market street for the next 45 minutes, and I am open to getting
> > marketing offers".  The bet= Users will want this on for a % of the
> > time based on specific tweets and this would eliminate the need for
> > them to turn the globalgeolocationdefault on and then off again, 2
> > steps vs. 1.
>
> what we're up to right now is definitely only the first pass of what  
> we're planning with doing withgeolocation.
>
> > 2. Any idea of approximate time frame we can start playing around with
> > this?
>
> "soon" is the best i can say right now :P
>
> --
> Raffi Krikorian
> Twitter Platform Team
> ra...@twitter.com | @raffi


[twitter-dev] Re: Crossdomain policy

2009-09-03 Thread Chad Etzel

Hello,

Our cross domain policy file is intentionally setup to exclude any and
all 3rd party websites. This is a permanent decision. The only way to
work around this is to setup a server-side proxy.

Thanks,
-Chad

On Mon, Aug 31, 2009 at 2:35 PM,
torontocitylife wrote:
>
> Does anyone know what's going on with Twitter's crossdomain policy
> file? I read -- over a year and a half ago -- that they were
> temporarily blocking broad access because of security holes. The
> crossdomain file still reads:
>
> 
> http://www.w3.org/2001/XMLSchema-
> instance" xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/
> schemas/PolicyFile.xsd">
>  
>        
>        
>        
>        
>   secure="true"/>
> 
>
> ...which means Twitter is disallowing access from anything other than
> the twitter.com domain, meaning no access to any web-based apps
> without a server-side proxy workaround. Wasn't this supposed to be
> temporary? And why even have a web-based API if they're still, a year
> and a half later, actively disallowing connections to it?
>


[twitter-dev] api error when updating statuses?

2009-09-03 Thread AJ Chen
wired response from status update: I update my status with different tweets,
but for a period of time, the responded statuses are always the same and
wrong status. for example,
2009-09-03 21:30:51,149 DEBUG report.TweetMgr (TweetMgr.java:tweet(63)) -
newsweb2x tweeted: Shuttle X500V All-In-One Desktop PC. Shuttle is back with
its new all-in-one desktop PC by releasing the X500V. Mea
http://feedproxy.google.com/%7Er/techfresh/%7E3/BpmQzdgy7EM/
responded status: Re: Are You Serious About Twitter?. Hi David. I have
described earlier today in my Blog a Twitter based application
http://bit.ly/370jK
2009-09-03 21:30:51,368 DEBUG report.TweetMgr (TweetMgr.java:tweet(63)) -
newsweb2x tweeted: Poker Chip Set - 100 Chips. A custom set of 100 Poker
Chips. Includes: 20 x Red 20 x Blue 20 x Green 20 x Black 20
http://www.ponoko.com/showroom/PlaySmart/3426
responded status: Re: Are You Serious About Twitter?. Hi David. I have
described earlier today in my Blog a Twitter based application
http://bit.ly/370jK
2009-09-03 21:30:51,368 DEBUG report.FeedReporter
(FeedReporter.java:report(113)) - report feed items: 2/60

I verify on my twitter home page that the two tweets I tried to update are
not there, but the wrong one is there.
is there a bug in api? or the api intentionally does this for some unknown
policy reason?
thanks,

-aj
-- 
AJ Chen, PhD
Co-Chair, Semantic Web SIG, sdforum.org
http://web2express.org
Palo Alto, CA


[twitter-dev] Re: Throttling of filter stream

2009-09-03 Thread John Kalucki

Zac,

It's possible that the track filter is missing something, but there's
probably other misunderstandings that are clouding things.

I don't know how Tweespeed comes up with their numbers, but the
Streaming API only makes available a proportion of all public
statuses. Spam accounts, for example, are filtered out, as are
protected accounts, direct messages, etc. etc. My guess is that
Tweespeed is assuming that status_ids are assigned sequentially and
they are just reporting the velocity of that column.

Your estimate that 40% of tweets contain a link seems more than 2x too
high. You can come up with a very accurate number by collecting a
sampled feed for a few hours or days (there are diurnal and daily
patterns to everything on Twitter) and dividing out. Even 10 minutes
of the default sampled feed (the old "spritzer") will give you an
idea.

Without knowing your sample size, day of week, or time of day, I'd say
that your reported matches per minute and limited statuses per minute
are pretty good. I don't think you are missing much, if anything,
other than the statuses reported by the limit message.

As a double check, I just ran a quick test with the highest level of
track and compared the result against the firehose. In a one minute
sample, the track feed had matched the same tweets as the firehose
piped to 'grep -i http'.

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


On Sep 3, 7:23 pm, Zac Witte  wrote:
> I'm not sure the filter is actually catching everything that I'm
> supposedly tracking. There are ~20,000 tweets per minute right now
> according to tweespeed. I'm getting about 1000 tweets/m and skipping
> on average 1500 tweets/m according to the limit notifications. That
> means my filter is matching about 12.5% of all tweets, but I'm
> tracking "http" and supposedly 40% of all tweets contain a link so my
> filter would seem to be missing the majority of all links. Is this
> making sense?


[twitter-dev] Re: Throttling of filter stream

2009-09-03 Thread Chad Etzel
Hi Zac,

The filter streams are limited in the amount of data they will deliver. If
you are filtering a high-volume term (such as http), you will definitely not
be getting all results.

-Chad

On Thu, Sep 3, 2009 at 10:23 PM, Zac Witte  wrote:

>
> I'm not sure the filter is actually catching everything that I'm
> supposedly tracking. There are ~20,000 tweets per minute right now
> according to tweespeed. I'm getting about 1000 tweets/m and skipping
> on average 1500 tweets/m according to the limit notifications. That
> means my filter is matching about 12.5% of all tweets, but I'm
> tracking "http" and supposedly 40% of all tweets contain a link so my
> filter would seem to be missing the majority of all links. Is this
> making sense?
>


[twitter-dev] Re: Search Operator OR needs more work!

2009-09-03 Thread Chad Etzel
Hello,

All results from the Search API are always returned in reverse chronological
order (most recent first). Number of keywords present in the result does not
play into it.

Thanks,
-Chad

On Thu, Sep 3, 2009 at 9:42 PM, Mike  wrote:

>
> Hi,
>  I'm very amazed by the API.. but when using the OR operator I was
> hoping to see something like what Google does.
> for ex: If I'm searching 3 keywords with OR operator. Google will list
> items that has more keyword occurrences first. Twitter search will
> return results with one keyword occurrence.
>


[twitter-dev] Search Operator OR needs more work!

2009-09-03 Thread Mike

Hi,
 I'm very amazed by the API.. but when using the OR operator I was
hoping to see something like what Google does.
for ex: If I'm searching 3 keywords with OR operator. Google will list
items that has more keyword occurrences first. Twitter search will
return results with one keyword occurrence.


[twitter-dev] Re: Rate Limit Weirdness?

2009-09-03 Thread Guillaume Thonier

We are seeing this exact problem with our app (OAuth).
Different sets of requests return different counts for the rate limit.
It goes up and down and sometimes reaches 0 which is incorrect.

Any idea?

On Sep 2, 11:47 pm, srikanth reddy  wrote:
> I have seen some inconsistency with my desktop app(Oauth) which is not
> whitelisted
> Adding a tweet to favorite does not update the X-RateLimit value.
> Also  If i remove a tweet from my favorites ( favorites\destroy), i get 404
> error (But this is removed from favorites) and the ratelimit is reset even
> though i have not consumed all 150 calls.
> Basically All deletes (i have seen this for status\destory, dm\destroy,
> favorites\destroy for recent tweets) are giving 404. But they get deleted
> successfully. X-RateLimit  is behaving strange w.r.t favorites
>
> On Thu, Sep 3, 2009 at 12:07 PM, Waldron Faulkner 
> > wrote:
>
> > Strange events w/ Rate Limit requests.
>
> > I'm calling the API from my whitelisted IP and getting results that
> > are all over the map. It's almost as if Twitter is load-balancing my
> > requests to two different environments, each of which is keeping its
> > own count of my rate limits. So my app chugs along happily thinking it
> > has plenty of limits and shouldn't need to check for a while, and then
> > wham, I'm getting 404's and Rate Limit exceptions.
>
> > Check this output from one of my apps:
>
> > Rate lims for acct: 7727
> > Rate lims for acct: 2002
> > 2009-09-03 02:12:04 AM: Processed 1000 tasks (∞ / min)
> > Rate lims for acct: 1136
> > 2009-09-03 02:12:25 AM: Processed 2000 tasks (∞ / min)
> > Rate lims for acct: 7052
> > 2009-09-03 02:12:46 AM: Processed 3000 tasks (3000 / min)
>
> > Notice how the rate lim requests bounce from the 7K to the 1K range
>
> > Then, a few seconds later, I get a ton of 404, and finally an over-the-
> > rate-lims response.
>
> > This only happens from my whitelisted IP. I'm running the same app
> > from home (account whitelisted but not the ip) and it runs without
> > this problem.
>
> > What's up??


[twitter-dev] Re: Twitter Open Connect

2009-09-03 Thread monkeyvu

Thanks :-)

On Sep 3, 2:24 pm, jmathai  wrote:
> This is the closest,http://apiwiki.twitter.com/Sign-in-with-Twitter
>
> On Sep 2, 7:10 pm,monkeyvu wrote:
>
> > Hi all,
>
> > Does Twitter support Open Connect which like the Facebook does?
>
> > Thanks,


[twitter-dev] Throttling of filter stream

2009-09-03 Thread Zac Witte

I'm not sure the filter is actually catching everything that I'm
supposedly tracking. There are ~20,000 tweets per minute right now
according to tweespeed. I'm getting about 1000 tweets/m and skipping
on average 1500 tweets/m according to the limit notifications. That
means my filter is matching about 12.5% of all tweets, but I'm
tracking "http" and supposedly 40% of all tweets contain a link so my
filter would seem to be missing the majority of all links. Is this
making sense?


[twitter-dev] Re: Is twitter a fad or worth development efforts?

2009-09-03 Thread Kevin Mesiab

You're asking the wrong folks.  Most of the developers here do not
have any real capital investment in their projects to speak of.  Fewer
still have a profit model.

Is Twitter a Fad?
The easy answer, yes.
The long answer? Yes, but it needn't be...

Unless Twitter makes a very real move to legitimize itself as a stable
and growing (relevant) platform for end users, you will be better off
focusing your capital on social media projects with more long term
sustainability.

Be aware, very few actual businesses have invested real dollars and
labor into integration w/ Twitter (sales force, dell, whoot, et al) as
opposed to the thousands who have adopted Facebook's API.

The reason is not a matter of playing favorites, it's a matter of
mitigating risk.  Presently, Twitter is a fad.  It's popularity and
its current growth pattern is a result of novelty and a media bubble.

However, Twitter has a very real chance to galvanize that momentum
into a serious business (one that includes us third party developers),
but it must move swiftly.  Facebook is posturing to take over
Twitter's market space.  Not because it wants to obliterate Twitter as
a competitor, but because they know what we know.  The 'correct'
social network exists somewhere between FB and Twitter.

Both companies _should_ be racing towards that space.  Whoever
dominates it (and thusly deserves our investment) will be the one who
a.) gets there first and b.) properly courts the developer community
to enrich it.

There are only two ways to convince real companies to invest real capital:

1.) Prove the users are there
2.) Guarantee a market

Apple has shown us this model at scale.

A rich developer community, incentivized by a Twitter regulated "app
store," and a firm developer bill of rights will ensure Twitter stays
relevant (and its users enjoy a rich experience) for a lot longer than
it should.  It also gets to 'grow up' into a real company and earn
revenue from a reseller split (again, via Apple).


-- 
Kevin Mesiab
CEO, Mesiab Labs L.L.C.
http://twitter.com/kmesiab
http://mesiablabs.com
http://retweet.com


[twitter-dev] Twitter AIR/JS API

2009-09-03 Thread Kevin Mesiab

For those of you developing in AIR or JS, we've open sourced our
Twitter API library.  Collaborators encouraged:
http://code.google.com/p/adobe-air-twitter/

-- 
Kevin Mesiab
CEO, Mesiab Labs L.L.C.
http://twitter.com/kmesiab
http://mesiablabs.com
http://retweet.com


[twitter-dev] having issues with widget - trying to palce on my website - who do I talk to ?

2009-09-03 Thread Jesse Gideon

trying to paste the code on my website for the twitter widget -
after doing nothing happens ? see --> http://www.fresh2order.com/test.php

help


[twitter-dev] Re: heavy throttling by search.twitter.com API from GAE application

2009-09-03 Thread Dan

I figured out this problem; it was not related after all.  I needed to
set the user-agent when using curl, with the "curl_setopt" command (in
PHP).  Once I did that I did not have problems using the Search API.


On Aug 29, 7:03 pm, Dan  wrote:
> I'm not sure if this is related.  I've been using Services_Twitter to
> use theSearchAPI and I keep getting the error message 
> "Unsupportedendpointsearch".  I'm searching a simple 7-letter word.  Anyone 
> have
> any idea what that message means?  Maybe this is related to something
> going on with Twitter'sSearchAPI?


[twitter-dev] Cookie warning

2009-09-03 Thread Ted Neward
Hey, all. When I use Jakarta Commons' HttpClient to access Twitter, I get a
warning about the cookie usage:

 

WARNING: Cookie rejected: "$Version=0;
_twitter_sess=BAh7CzoRdHJhbnNfcHJvbXB0MDo

OcmV0dXJuX3RvIjRodHRwOi8vdHdpdHRl%250Aci5jb20vc3RhdHVzZXMvc2hvdy8zNzQ0NDIyMD
U2Ln

htbDoTcGFzc3dvcmRf%250AdG9rZW4iLTA4MTMxNWJiZjY3MDE5OWE0NzBmMDllNTVmNDc0N2Y0M
WI4M

DJj%250AZTM6CXVzZXJpBPhCOgQ6B2lkIiUyY2NkMGU1MWMyNmQ3MDcwN2U5Mzk0ZWZj%250AMDY
zMGE

yNiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZs%250AYXNoSGFzaHsABjoKQH
VzZW

R7AA%253D%253D--226af2aba32531a2d066cba43b24e347f3c2293e; $Path=/;
$Domain=.twit

ter.com". Illegal domain attribute ".twitter.com". Domain of origin:
"twitter.co

m"

 

The code I'm using I think is OK; anybody else seen anything like this? Any
interpretation of what I might be doing wrong?

 

Ted Neward

Java, .NET, XML Services

Consulting, Teaching, Speaking, Writing

http://www.tedneward.com

 

 

 



[twitter-dev] Re: Is twitter a fad or worth development efforts?

2009-09-03 Thread Robert Banh

if you're a developer... and u love to code... then i don't think it's
a hard decision. #my2cents

On Thu, Sep 3, 2009 at 5:54 PM, Andrew Badera  wrote:
>
> Sometimes.
>
>
> On Thu, Sep 3, 2009 at 6:45 PM, Scott Haneda wrote:
>>
>> Yes.
>>
>> On Sep 3, 2009, at 9:41 AM, ka...@sbcglobal.net wrote:
>>
>>> Is twitter a fad or worth development efforts?
>>
>> --
>> Scott * If you contact me off list replace talklists@ with scott@ *
>>
>>
>


[twitter-dev] Re: Is twitter a fad or worth development efforts?

2009-09-03 Thread Ted Neward

Kinda asking the wrong group, aren't you?

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com
 


> -Original Message-
> From: twitter-development-talk@googlegroups.com [mailto:twitter-
> development-t...@googlegroups.com] On Behalf Of ka...@sbcglobal.net
> Sent: Thursday, September 03, 2009 9:42 AM
> To: Twitter Development Talk
> Subject: [twitter-dev] Is twitter a fad or worth development efforts?
> 
> 
> Is twitter a fad or worth development efforts?



[twitter-dev] Re: Is twitter a fad or worth development efforts?

2009-09-03 Thread JDG
Ask Again Later

On Thu, Sep 3, 2009 at 16:54, Andrew Badera  wrote:

>
> Sometimes.
>
>
> On Thu, Sep 3, 2009 at 6:45 PM, Scott Haneda wrote:
> >
> > Yes.
> >
> > On Sep 3, 2009, at 9:41 AM, ka...@sbcglobal.net wrote:
> >
> >> Is twitter a fad or worth development efforts?
> >
> > --
> > Scott * If you contact me off list replace talklists@ with scott@ *
> >
> >
>



-- 
Internets. Serious business.


[twitter-dev] Re: Is twitter a fad or worth development efforts?

2009-09-03 Thread Andrew Badera

Sometimes.


On Thu, Sep 3, 2009 at 6:45 PM, Scott Haneda wrote:
>
> Yes.
>
> On Sep 3, 2009, at 9:41 AM, ka...@sbcglobal.net wrote:
>
>> Is twitter a fad or worth development efforts?
>
> --
> Scott * If you contact me off list replace talklists@ with scott@ *
>
>


[twitter-dev] Re: Is twitter a fad or worth development efforts?

2009-09-03 Thread Scott Haneda


Yes.

On Sep 3, 2009, at 9:41 AM, ka...@sbcglobal.net wrote:


Is twitter a fad or worth development efforts?


--
Scott * If you contact me off list replace talklists@ with scott@ *



[twitter-dev] Re: Is twitter a fad or worth development efforts?

2009-09-03 Thread Joel Strellner
Yeah, it's a fad, just like vowels and capitalization are.

On Thu, Sep 3, 2009 at 1:38 PM, Dale Merritt  wrote:

> yea, like fb and ytube and ggle
>
> On Thu, Sep 3, 2009 at 9:41 AM, ka...@sbcglobal.net wrote:
>
>>
>> Is twitter a fad or worth development efforts?
>>
>
>
>
> --
> Dale Merritt
> Fol.la MeDia, LLC
>


[twitter-dev] status id

2009-09-03 Thread Ki

i assume status id is auto generated.
are there any situations where the id is manually set?
for example, from id 1000 to 2000 for consecutive status updates that
comes into twitter?


[twitter-dev] Re: Private user's 'following' information: why am I denied access via API but can get through Twitter.com?

2009-09-03 Thread TjL

On Thu, Sep 3, 2009 at 3:37 AM, Tweet Thief wrote:
> curl -D - -s -u user:pass
> "http://twitter.com/friendships/exists.xml?user_a=just_me_hi&user_b=tweetthief";

Try the (new?) friendship/show:

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-friendships-show

curl -D - -s --netrc
"http://twitter.com/friendships/show.xml?target_screen_name=tweetthief&source_screen_name=just_me_hi";

(you can avoid putting your username and password on the commandline
if you use ~/.netrc)

I was just looking at it for a little script I use that mimics doesfollow.com

The advantage seems to be that you get both "directions" (does a
follow b and does b follow a) in one API call, which makes a lot of
sense.

Dunno how long it's been there, but it's new to me… and it's one of my
favorite new features in a long time, minor though it is.

TjL


[twitter-dev] Re: Is twitter a fad or worth development efforts?

2009-09-03 Thread Dale Merritt
yea, like fb and ytube and ggle

On Thu, Sep 3, 2009 at 9:41 AM, ka...@sbcglobal.net wrote:

>
> Is twitter a fad or worth development efforts?
>



-- 
Dale Merritt
Fol.la MeDia, LLC


[twitter-dev] Re: [ANN] statuses/home_timeline resource now available (though it doesn't include retweets yet)

2009-09-03 Thread Rich

I second this, it'd be good to emulate the behaviour with real re-
tweets in there

On Sep 3, 7:45 pm, "Jim Renkel"  wrote:
> Marcel,
>
> This is good news! It will allow us to start development of retweet
> support in our client applications / web-sites, and do backward
> compatibility testing.
>
> Would it be possible, if it has not already been done, for twitter to
> create a couple of accounts that include some retweets so we can also do
> forward compatibility testing? It doesn't have to be much, just a
> half-dozen or so nonsense status updates in each account, some
> retweeted, some not.
>
> When you do this, please be sure to include an example of a status
> update that is retweeted by more than one other account. I, and others,
> still have questions, so far unanswered, about what the results will
> look like in this case, and other similar cases.
>
> Thanks in advance,
>
> Jim Renkel
>
>
>
> -Original Message-
> From: twitter-development-talk@googlegroups.com
>
> [mailto:twitter-development-t...@googlegroups.com] On Behalf Of Marcel
> Molina
> Sent: Wednesday, September 02, 2009 18:23
> To: twitter-development-talk@googlegroups.com;
> twitter-api-annou...@googlegroups.com
> Subject: [twitter-dev] [ANN] statuses/home_timeline resource now
> available (though it doesn't include retweets yet)
>
> We mentioned in our early preview email about the retweet API
> (http://groups.google.com/group/twitter-api-announce/browse_thread/threa
> d/1e07e332ec3d449d)
> that the statuses/friends_timeline resource wasn't going to include
> retweets for backwards compatibility so we don't break clients that
> aren't planning to add retweet support. The upgrade path is entirely
> opt-in. To that end we're adding a statuses/home_timeline resource
> that is in all ways identical to statuses/friends_timeline except the
> home_timeline resource *will* include retweets as demonstrated in the
> example payload in the documentation 
> athttp://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-home_time
> line.
>
> The statuses/home_timeline resource is now available though it won't
> include any retweets until the retweeting feature is fully launched.
> To be clear, until the full retweet launch, statuses/home_timeline
> will be 100% identical to statuses/friends_timeline and will *not*
> include retweets. We wanted to make the resource available early
> though so that clients who will be incorporating retweets into their
> timelines can update the resource that they reference and have
> requests succeed. When the full retweet launch happens, retweets will
> start to appear in statuses/home_timeline as per the documentation.
>
> --
> Marcel Molina
> Twitter Platform Teamhttp://twitter.com/noradio


[twitter-dev] Re: api user rate limit from different ip addresses

2009-09-03 Thread JDG
that's really quite brilliant for GETs ... if they could figure out a way to
do it for POSTs (I know that Dojo uses iframes, but it's clunky and somewhat
unreliable for non-JSON responses), I'd be all a-droolin.

On Thu, Sep 3, 2009 at 13:08, Bill Kocik  wrote:

>
>
>
> On Sep 3, 10:48 am, NATO24  wrote:
>
> > JDG, you're right, you cannot perform a XMLHttpRequest, but jQuery can
> > load using the DOM script tag to get around it (using GET).  See the
> > second "Note:"http://docs.jquery.com/Ajax/jQuery.ajax#options
>
> For the curious, essentially this is done by appending a  tag
> to the  element of the current document, something like this:
>
>