Re: [twitter-dev] Oauth authentication just run in IE .. Why?

2009-12-09 Thread srikanth reddy
If you are developing w3c widget on opera platforms( i don't think it is
supported on other platforms yet) they do allow cross domain scripting. Just
look at their security configuration for widgets.

On Wed, Dec 9, 2009 at 11:40 PM, Daniel Silva
wrote:

> I do understand that in a web application that problem may occur, however
> I'm developing a w3c widget, and so, I  don't have any associated domain.
> How can I authenticate a w3c widget using Oauth with javascript?
>
> 2009/11/30 Raffi Krikorian 
>
> i think that's the problem - you can't make an ajax request to a server
>> that is not hosting the HTML/Javascript that you are loading in the browser
>> (look for "same origin 
>> policy").
>>  it *may* be possible to do it using jsonp, but i haven't tried it
>> myself.
>>
>> Yes, it is. I'm using this Oauth API
>> http://oauth.googlecode.com/svn/code/javascript/oauth.js
>>
>> is this a cross domain ajax request issue?
>>>
>>>  I'm doing Oauth authentication for my application and it run's well in
 IE. When i change to Firefox, Safari or Opera this error appears
 "[Exception... "Component returned failure code: 0x80004005
 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult: "0x80004005
 (NS_ERROR_FAILURE)"  location: "JS frame :: " when I'm sending the
 tokens for application.

 Why this append?

 thanks for the help..

 best regards,
 Daniel

>>>
>>  --
>> Raffi Krikorian
>> Twitter Platform Team
>> ra...@twitter.com | @raffi
>>
>>
>>
>>
>>
>
>
> --
> regards,
>
> Daniel Silva
>


Re: [twitter-dev] Re: Spurious SMS notifications

2009-12-09 Thread Mark McBride
We believe we've addressed this issue.  If you see any further SMSs or
tweets please let me know.

On Wed, Dec 9, 2009 at 5:46 PM, Howard Siegel  wrote:
> Just got my first errant SMS message today.  This one is from someone that I
> am following.
>
> - h
>
> On Wed, Dec 9, 2009 at 16:15, mccv  wrote:
>>
>> Ok, thanks for the info.  We have people working on this.
>>
>> On Dec 9, 3:51 pm, Howard Siegel  wrote:
>> > I've been getting errant SMS messages from Twitter for a few days,
>> > though I
>> > have not received any today (as yet).  I have turned on SMS only for DMs
>> > and
>> > none of these were DMs to me.  I have not yet actually verified that I
>> > am
>> > following all of the folks from whom I've gotten the errant SMSes
>> > though.
>> >
>> > - h
>> >
>> >
>> >
>> > On Wed, Dec 9, 2009 at 15:02, Kee Hinckley  wrote:
>> > > I am receiving spurious SMS notifications for tweets sent by people I
>> > > am
>> > > following, but do not have notifications turned on for. These are
>> > > *not*
>> > > retweets, I've even asked a couple of the original senders to check
>> > > and see
>> > > if the item had been retweeted, and the answer was no. Furthermore, I
>> > > only
>> > > have my account (@nazgul) set to receive text messages for about four
>> > > users,
>> > > and none of them retweeted these messages. Possibly related, I have a
>> > > friend
>> > > who turned off *all* phone notifications over a day ago, and is still
>> > > getting random new text messages from people she follows but didn't
>> > > set to
>> > > send her notificationqs.
>> >
>> > > Examples:
>> >
>> > > I confirmed that these were not retweeted by anyone for whom I get
>> > > notifications (or in one case, by anyone at all).
>> >
>> > >http://twitter.com/stevegarfield/status/6463021810
>> > >http://twitter.com/daddyclaxton/status/6463935419
>> >
>> > > Others I haven't had a chance to investigate, but which it seems
>> > > highly
>> > > unlikely were retweeted by anyone who sends me notifications.
>> > >http://twitter.com/kevinmarks/status/6500306267
>> > >http://twitter.com/stoweboyd/status/6497224194
>
>



-- 
   ---Mark

http://twitter.com/mccv


[twitter-dev] Oauth authentication jquery

2009-12-09 Thread Daniel Silva
When I trying to do Oauth authentication with jquery it always receives a
empty response. I'm doing this:

$.ajax({
   beforeSend: function(xhr) {
 xhr.setRequestHeader("Authentication", authorizationHeader)
   },
   url:'https://twitter.com/oauth/request_token',
   type: 'get',
   contentType: 'application/x-www-form-urlencoded',
   async: false,
   success: function(msg){
 alert( "Data: " + msg );
   }
});

//output --> "Data: "

Can someone help me?
-- 
best regards,

Daniel Silva


[twitter-dev] Re: Today's Platform Announcements at Le Web

2009-12-09 Thread M. Edward (Ed) Borasky
Question: not too long ago, the Twitter API pages declared that there
were "legal reasons" why access to the firehose was restricted. Have
those legal restrictions suddenly been lifted?


[twitter-dev] Typo in delete list subscribers documentation

2009-12-09 Thread Orian Marx (@orian)
In the DELETE list subscribers documentation (
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-DELETE-list-subscribers
) the URL for the service is 
http://api.twitter.com/1/user/list_id/members.format
but I think it's supposed to be 
http://api.twitter.com/1/user/list_id/subscribers.format


Re: [twitter-dev] Re: Spurious SMS notifications

2009-12-09 Thread Howard Siegel
Just got my first errant SMS message today.  This one is from someone that I
am following.

- h

On Wed, Dec 9, 2009 at 16:15, mccv  wrote:

> Ok, thanks for the info.  We have people working on this.
>
> On Dec 9, 3:51 pm, Howard Siegel  wrote:
> > I've been getting errant SMS messages from Twitter for a few days, though
> I
> > have not received any today (as yet).  I have turned on SMS only for DMs
> and
> > none of these were DMs to me.  I have not yet actually verified that I am
> > following all of the folks from whom I've gotten the errant SMSes though.
> >
> > - h
> >
> >
> >
> > On Wed, Dec 9, 2009 at 15:02, Kee Hinckley  wrote:
> > > I am receiving spurious SMS notifications for tweets sent by people I
> am
> > > following, but do not have notifications turned on for. These are *not*
> > > retweets, I've even asked a couple of the original senders to check and
> see
> > > if the item had been retweeted, and the answer was no. Furthermore, I
> only
> > > have my account (@nazgul) set to receive text messages for about four
> users,
> > > and none of them retweeted these messages. Possibly related, I have a
> friend
> > > who turned off *all* phone notifications over a day ago, and is still
> > > getting random new text messages from people she follows but didn't set
> to
> > > send her notificationqs.
> >
> > > Examples:
> >
> > > I confirmed that these were not retweeted by anyone for whom I get
> > > notifications (or in one case, by anyone at all).
> >
> > >http://twitter.com/stevegarfield/status/6463021810
> > >http://twitter.com/daddyclaxton/status/6463935419
> >
> > > Others I haven't had a chance to investigate, but which it seems highly
> > > unlikely were retweeted by anyone who sends me notifications.
> > >http://twitter.com/kevinmarks/status/6500306267
> > >http://twitter.com/stoweboyd/status/6497224194
>


Re: [twitter-dev] Key Twitter Questions

2009-12-09 Thread Jonathan Markwell
@rem's http://snapbird.org achieves this without using the Search API.

You could take a similar approach. The source code is available here:
http://github.com/remy/twitter-search-js

Jon.

On Thu, Dec 10, 2009 at 12:25 AM, seanie  wrote:
> New to this forum and similarly Twitter API. Would anyone be able to
> advise ref the following please:-
> - Can Twitter API (via browser app) search a 'Protected Tweets' area
> subsequent to giving API username/password?
> - Can Twitter API search back 'all' tweets (search criteria) and not
> the previous week (as search.twitter.com does).
> -Thanks
> Seanie
>



-- 
Jonathan Markwell
Engineer | Founder | Connector

Inuda Innovations Ltd, Brighton, UK

Web application development & support
Twitter & Facebook integration specialists
http://inuda.com

Organising the world's first events for the Twitter developer Community
http://TwitterDeveloperNest.com

Providing a nice little place to work in the middle of Brighton -
http://theskiff.org

Measuring your brand's visibility on the social web - http://HowSociable.com

mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953
skype: jlmarkwell | twitter: http://twitter.com/jot


Re: [twitter-dev] retweets_of_me doesn't say who retweeted me

2009-12-09 Thread Marco Donizelli
That also apply for "retweeted_to_me" API... which causes a awful
lots of troubles because you need to cross reference those APIs with
other ones to get the lists of retweeters, and that clashes against rate
limits...

any plan to include the retweeters details in the response of those APIs?

m



2009/12/10 Cameron Kaiser 

> > Unless I'm missing something -- which is always possible -- I don't see
> how
> > I can derivate from statuses/retweets_of_me.* -who- retweeted me, just
> what
> > was retweeted.
>
> And I meant 'derive' of course. Blah.
>
> --
>  personal:
> http://www.cameronkaiser.com/ --
>  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
> ckai...@floodgap.com
> -- Life is too short to use anything but a Mac. -- Roger Ebert
> 
>


[twitter-dev] Re: Spurious SMS notifications

2009-12-09 Thread mccv
Ok, thanks for the info.  We have people working on this.

On Dec 9, 3:51 pm, Howard Siegel  wrote:
> I've been getting errant SMS messages from Twitter for a few days, though I
> have not received any today (as yet).  I have turned on SMS only for DMs and
> none of these were DMs to me.  I have not yet actually verified that I am
> following all of the folks from whom I've gotten the errant SMSes though.
>
> - h
>
>
>
> On Wed, Dec 9, 2009 at 15:02, Kee Hinckley  wrote:
> > I am receiving spurious SMS notifications for tweets sent by people I am
> > following, but do not have notifications turned on for. These are *not*
> > retweets, I've even asked a couple of the original senders to check and see
> > if the item had been retweeted, and the answer was no. Furthermore, I only
> > have my account (@nazgul) set to receive text messages for about four users,
> > and none of them retweeted these messages. Possibly related, I have a friend
> > who turned off *all* phone notifications over a day ago, and is still
> > getting random new text messages from people she follows but didn't set to
> > send her notificationqs.
>
> > Examples:
>
> > I confirmed that these were not retweeted by anyone for whom I get
> > notifications (or in one case, by anyone at all).
>
> >http://twitter.com/stevegarfield/status/6463021810
> >http://twitter.com/daddyclaxton/status/6463935419
>
> > Others I haven't had a chance to investigate, but which it seems highly
> > unlikely were retweeted by anyone who sends me notifications.
> >http://twitter.com/kevinmarks/status/6500306267
> >http://twitter.com/stoweboyd/status/6497224194


Re: [twitter-dev] Key Twitter Questions

2009-12-09 Thread Raffi Krikorian
> New to this forum and similarly Twitter API. Would anyone be able to
> advise ref the following please:-
> - Can Twitter API (via browser app) search a 'Protected Tweets' area
> subsequent to giving API username/password?

search?  no.  view?  yes - if you have the permission to do so.

> - Can Twitter API search back 'all' tweets (search criteria) and not
> the previous week (as search.twitter.com does).

not right now.

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


[twitter-dev] Key Twitter Questions

2009-12-09 Thread seanie
New to this forum and similarly Twitter API. Would anyone be able to
advise ref the following please:-
- Can Twitter API (via browser app) search a 'Protected Tweets' area
subsequent to giving API username/password?
- Can Twitter API search back 'all' tweets (search criteria) and not
the previous week (as search.twitter.com does).
-Thanks
Seanie


Re: [twitter-dev] retweets_of_me doesn't say who retweeted me

2009-12-09 Thread Cameron Kaiser
> Unless I'm missing something -- which is always possible -- I don't see how
> I can derivate from statuses/retweets_of_me.* -who- retweeted me, just what
> was retweeted.

And I meant 'derive' of course. Blah.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Life is too short to use anything but a Mac. -- Roger Ebert 


[twitter-dev] retweets_of_me doesn't say who retweeted me

2009-12-09 Thread Cameron Kaiser
Unless I'm missing something -- which is always possible -- I don't see how
I can derivate from statuses/retweets_of_me.* -who- retweeted me, just what
was retweeted.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- "I adore my Commodore 64" --


[twitter-dev] Re: Dedicated IP Whitelist

2009-12-09 Thread Sal Conigliaro
Do a cURL request to whatismyip.com and see what address
your request is coming from.

On Dec 8, 2:13 pm, Jesse Bunch  wrote:
> Hi,
>
> I am on a shared web hosting space, but my domain has a dedicated IP
> on the server. Am I correct in saying that the twitter API sees the
> dedicated IP address instead of the shared IP address that the server
> has? I have been trying very hard to get a twitter API script running
> but I get nothing but blank responses from twitter. This makes me
> think that my IP has been blacklisted which makes sense if its seeing
> the shared IP address that some spammer used to screw things up for
> me. I have submitted my dedicated IP to twitter for whitelisting and
> they did approve my request, but nothing has changed. Still a blank
> response via cURL in PHP. This is a bit frustrating so any advice you
> can give me would be much appreciated.
>
> Jesse Bunch
> Pixelated Technologieswww.PixelatedTech.com


Re: [twitter-dev] Spurious SMS notifications

2009-12-09 Thread Howard Siegel
I've been getting errant SMS messages from Twitter for a few days, though I
have not received any today (as yet).  I have turned on SMS only for DMs and
none of these were DMs to me.  I have not yet actually verified that I am
following all of the folks from whom I've gotten the errant SMSes though.

- h

On Wed, Dec 9, 2009 at 15:02, Kee Hinckley  wrote:

> I am receiving spurious SMS notifications for tweets sent by people I am
> following, but do not have notifications turned on for. These are *not*
> retweets, I've even asked a couple of the original senders to check and see
> if the item had been retweeted, and the answer was no. Furthermore, I only
> have my account (@nazgul) set to receive text messages for about four users,
> and none of them retweeted these messages. Possibly related, I have a friend
> who turned off *all* phone notifications over a day ago, and is still
> getting random new text messages from people she follows but didn't set to
> send her notificationqs.
>
> Examples:
>
> I confirmed that these were not retweeted by anyone for whom I get
> notifications (or in one case, by anyone at all).
>
> http://twitter.com/stevegarfield/status/6463021810
> http://twitter.com/daddyclaxton/status/6463935419
>
> Others I haven't had a chance to investigate, but which it seems highly
> unlikely were retweeted by anyone who sends me notifications.
> http://twitter.com/kevinmarks/status/6500306267
> http://twitter.com/stoweboyd/status/6497224194
>


[twitter-dev] Re: List statuses paging question

2009-12-09 Thread Orian Marx (@orian)
Woops, realizing now that pagination hasn't been removed from other
timeline services, only from social graph services.

On Dec 9, 6:40 pm, "Orian Marx (@orian)"  wrote:
> The documentation for GET list statuses shows an optional pagination
> parameter. Is this going to be replaced with a previous / next cursor
> in the near future, similar to all other timeline methods?


[twitter-dev] Re: Spurious SMS notifications

2009-12-09 Thread Peter Boctor
I've been seeing these SMS notifications too. Happy to send in this
information if it helps track this down.

Peter

On Dec 9, 3:43 pm, Mark McBride  wrote:
> Actually, the SMS for people not set to receive any notifications for
> friends seems separate.  Can I get userids, the time at which this
> started, and a sample status that was delivered via SMS?


Re: [twitter-dev] Spurious SMS notifications

2009-12-09 Thread Mark McBride
Actually, the SMS for people not set to receive any notifications for
friends seems separate.  Can I get userids, the time at which this
started, and a sample status that was delivered via SMS?

On Wed, Dec 9, 2009 at 3:16 PM, Mark McBride  wrote:
> This is part of the known issue here
>
> http://status.twitter.com/post/276305097/known-issue-misdirected-tweets
>
> On Wed, Dec 9, 2009 at 3:09 PM, Scott Haneda  wrote:
>> My G/F is getting the same thing.  She has DM's set to go via SMS, but she
>> also gets tweets as SMS on a daly basis, at some pretty unruly hours.  These
>> are just normal tweets, by people she is following. Some, if not most, are
>> not following her back.
>>
>> I do not have this problem, and follow much larger base of people than she
>> does.  However, I also follow the same people she is following, which are
>> somehow able to get a normal tweet to go over SMS to her.
>>
>> Is this a known issue, is there some way to make it stop?  It is important
>> to get DM's via SMS, but it is also important to not get woken up at 4AM
>> from @someone_i_just_follow.
>> --
>> Scott * If you contact me off list replace talklists@ with scott@ *
>>
>> On Dec 9, 2009, at 3:02 PM, Kee Hinckley wrote:
>>
>>> I am receiving spurious SMS notifications for tweets sent by people I am
>>> following, but do not have notifications turned on for. These are *not*
>>> retweets, I've even asked a couple of the original senders to check and see
>>> if the item had been retweeted, and the answer was no. Furthermore, I only
>>> have my account (@nazgul) set to receive text messages for about four users,
>>> and none of them retweeted these messages. Possibly related, I have a friend
>>> who turned off *all* phone notifications over a day ago, and is still
>>> getting random new text messages from people she follows but didn't set to
>>> send her notificationqs.
>>>
>>> Examples:
>>>
>>> I confirmed that these were not retweeted by anyone for whom I get
>>> notifications (or in one case, by anyone at all).
>>>
>>> http://twitter.com/stevegarfield/status/6463021810
>>> http://twitter.com/daddyclaxton/status/6463935419
>>>
>>> Others I haven't had a chance to investigate, but which it seems highly
>>> unlikely were retweeted by anyone who sends me notifications.
>>> http://twitter.com/kevinmarks/status/6500306267
>>> http://twitter.com/stoweboyd/status/6497224194
>>
>>
>
>
>
> --
>   ---Mark
>
> http://twitter.com/mccv
>



-- 
   ---Mark

http://twitter.com/mccv


[twitter-dev] List statuses paging question

2009-12-09 Thread Orian Marx (@orian)
The documentation for GET list statuses shows an optional pagination
parameter. Is this going to be replaced with a previous / next cursor
in the near future, similar to all other timeline methods?


Re: [twitter-dev] Spurious SMS notifications

2009-12-09 Thread Mark McBride
This is part of the known issue here

http://status.twitter.com/post/276305097/known-issue-misdirected-tweets

On Wed, Dec 9, 2009 at 3:09 PM, Scott Haneda  wrote:
> My G/F is getting the same thing.  She has DM's set to go via SMS, but she
> also gets tweets as SMS on a daly basis, at some pretty unruly hours.  These
> are just normal tweets, by people she is following. Some, if not most, are
> not following her back.
>
> I do not have this problem, and follow much larger base of people than she
> does.  However, I also follow the same people she is following, which are
> somehow able to get a normal tweet to go over SMS to her.
>
> Is this a known issue, is there some way to make it stop?  It is important
> to get DM's via SMS, but it is also important to not get woken up at 4AM
> from @someone_i_just_follow.
> --
> Scott * If you contact me off list replace talklists@ with scott@ *
>
> On Dec 9, 2009, at 3:02 PM, Kee Hinckley wrote:
>
>> I am receiving spurious SMS notifications for tweets sent by people I am
>> following, but do not have notifications turned on for. These are *not*
>> retweets, I've even asked a couple of the original senders to check and see
>> if the item had been retweeted, and the answer was no. Furthermore, I only
>> have my account (@nazgul) set to receive text messages for about four users,
>> and none of them retweeted these messages. Possibly related, I have a friend
>> who turned off *all* phone notifications over a day ago, and is still
>> getting random new text messages from people she follows but didn't set to
>> send her notificationqs.
>>
>> Examples:
>>
>> I confirmed that these were not retweeted by anyone for whom I get
>> notifications (or in one case, by anyone at all).
>>
>> http://twitter.com/stevegarfield/status/6463021810
>> http://twitter.com/daddyclaxton/status/6463935419
>>
>> Others I haven't had a chance to investigate, but which it seems highly
>> unlikely were retweeted by anyone who sends me notifications.
>> http://twitter.com/kevinmarks/status/6500306267
>> http://twitter.com/stoweboyd/status/6497224194
>
>



-- 
   ---Mark

http://twitter.com/mccv


Re: [twitter-dev] Spurious SMS notifications

2009-12-09 Thread Scott Haneda
My G/F is getting the same thing.  She has DM's set to go via SMS, but  
she also gets tweets as SMS on a daly basis, at some pretty unruly  
hours.  These are just normal tweets, by people she is following.  
Some, if not most, are not following her back.


I do not have this problem, and follow much larger base of people than  
she does.  However, I also follow the same people she is following,  
which are somehow able to get a normal tweet to go over SMS to her.


Is this a known issue, is there some way to make it stop?  It is  
important to get DM's via SMS, but it is also important to not get  
woken up at 4AM from @someone_i_just_follow.

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

On Dec 9, 2009, at 3:02 PM, Kee Hinckley wrote:

I am receiving spurious SMS notifications for tweets sent by people  
I am following, but do not have notifications turned on for. These  
are *not* retweets, I've even asked a couple of the original senders  
to check and see if the item had been retweeted, and the answer was  
no. Furthermore, I only have my account (@nazgul) set to receive  
text messages for about four users, and none of them retweeted these  
messages. Possibly related, I have a friend who turned off *all*  
phone notifications over a day ago, and is still getting random new  
text messages from people she follows but didn't set to send her  
notificationqs.


Examples:

I confirmed that these were not retweeted by anyone for whom I get  
notifications (or in one case, by anyone at all).


http://twitter.com/stevegarfield/status/6463021810
http://twitter.com/daddyclaxton/status/6463935419

Others I haven't had a chance to investigate, but which it seems  
highly unlikely were retweeted by anyone who sends me notifications.

http://twitter.com/kevinmarks/status/6500306267
http://twitter.com/stoweboyd/status/6497224194




[twitter-dev] Spurious SMS notifications

2009-12-09 Thread Kee Hinckley
I am receiving spurious SMS notifications for tweets sent by people I  
am following, but do not have notifications turned on for. These are  
*not* retweets, I've even asked a couple of the original senders to  
check and see if the item had been retweeted, and the answer was no.  
Furthermore, I only have my account (@nazgul) set to receive text  
messages for about four users, and none of them retweeted these  
messages. Possibly related, I have a friend who turned off *all* phone  
notifications over a day ago, and is still getting random new text  
messages from people she follows but didn't set to send her  
notificationqs.


Examples:

I confirmed that these were not retweeted by anyone for whom I get  
notifications (or in one case, by anyone at all).


http://twitter.com/stevegarfield/status/6463021810
http://twitter.com/daddyclaxton/status/6463935419

Others I haven't had a chance to investigate, but which it seems  
highly unlikely were retweeted by anyone who sends me notifications.

http://twitter.com/kevinmarks/status/6500306267
http://twitter.com/stoweboyd/status/6497224194


Re: [twitter-dev] Re: 404 Errors on friends and followers using cursors

2009-12-09 Thread Mark McBride
I can verify the issue, looking into it...

On Wed, Dec 9, 2009 at 12:33 PM, Randy  wrote:
> I am still seeing this issue. Trying the URLs provided by Ammo
> Collector in the top post still yields 404's as well.
>
> On Dec 9, 9:50 am, John Kalucki  wrote:
>> Over the last 4 or so days there has been a few brief periods of instability
>> on the backing store that provides the Social Graph. I'd re-run your test to
>> see if you were just very unlucky, or if the issue persists.
>>
>> -John Kaluckihttp://twitter.com/jkalucki
>>
>> On Tue, Dec 8, 2009 at 1:40 PM, Randy  wrote:
>> > I added this to the issue tracker:
>> >http://code.google.com/p/twitter-api/issues/detail?id=1264
>>
>> > On Dec 8, 1:01 pm, Randy  wrote:
>> > > I am seeing the same issue. In my case, the first four iterations work
>> > > (i.e. I retrieve 400 users), but the next call gives me a 404.
>



-- 
   ---Mark

http://twitter.com/mccv


Re: [twitter-dev] Re: Send to certain user

2009-12-09 Thread TJ Luoma
You can DM anyone who follows you.

Only people you follow can DM you.



On Wed, Dec 9, 2009 at 1:47 PM, park2  wrote:
> I managed to get something working thanks.
>
> What is the exact criteria needed to be able to send direct to a
> user.
>
> eg do you have to follow them they follow you , accept messages etc
> etc
>
> Cheers
>
> SteveW
>
> On Dec 9, 3:27 pm, Abraham Williams <4bra...@gmail.com> wrote:
>> You can read about creating direct messages on the 
>> wiki:http://apiwiki.twitter.com/Twitter-REST-API-Method:-direct_messagesnew
>>
>> You can read about making POST requests with cURL 
>> here:http://netevil.org/blog/2006/nov/http-post-from-php-without-curl
>>
>> Abraham
>>
>> On Tue, Dec 8, 2009 at 14:42, park2  wrote:
>> > We have an existing security product that when an alert happens we
>> > send a text and email. We now need to send to a Twitter account. What
>> > is the syntax to send 'test alert' to user 'test123' direct from the
>> > web address bar. I am trying to do this within php without installing
>> > curl.
>>
>> --
>> Abraham Williams | Community Evangelist |http://web608.org
>> Project | Intersect |http://intersect.labs.poseurtech.com
>> Hacker |http://abrah.am|http://twitter.com/abraham
>> This email is: [ ] shareable [x] ask first [ ] private.
>> Sent from Madison, WI, United States
>


[twitter-dev] Re: Today's Platform Announcements at Le Web

2009-12-09 Thread Dewald Pretorius
I am looking forward to the external API monitoring that Ryan
mentioned. Means we won't have to tell Twitter when there is a problem
with the API. Hopefully they will know before we do.

On Dec 9, 11:24 am, Jonathan Markwell  wrote:
> Hi All,
>
> Ryan made various big announcements this morning at Le Web that affect
> all of us. :) I'm sure many of you would like to hear the news
> directly as I did. You can watch it here on Ustream:
>
> http://www.ustream.tv/recorded/2748326
>
> There are also a some write-ups here:
>
> http://www.readwriteweb.com/archives/twitter_at_leweb.phphttp://www.techcrunch.com/2009/12/09/twitter-le-web-2009/http://blog.louisgray.com/2009/12/twitters-maturation-process-continu...
>
> Jon.
>
> --
> Jonathan Markwell
> Engineer | Founder | Connector
>
> Inuda Innovations Ltd, Brighton, UK
>
> Web application development & support
> Twitter & Facebook integration specialistshttp://inuda.com
>
> Organising the world's first events for the Twitter developer 
> Communityhttp://TwitterDeveloperNest.com
>
> Providing a nice little place to work in the middle of Brighton 
> -http://theskiff.org
>
> Measuring your brand's visibility on the social web -http://HowSociable.com
>
> mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953
> skype: jlmarkwell | twitter:http://twitter.com/jot


Re: [twitter-dev] Question regarding profile bg image... Please direct me

2009-12-09 Thread Mark McBride
You should be able to use this call to do what you describe

http://apiwiki.twitter.com/Twitter-REST-API-Method:-account
update_profile_background_image

You would have to have access to the image, but that shouldn't be too
tough (pick from a Flickr photo set, that sort of thing)

On Wed, Dec 9, 2009 at 11:46 AM, traxus  wrote:
> This is probably the wrong place to ask as this isn't quite an API
> matter, so please forgive me and point me in the right direction if it
> is...
>
> I have an idea where I would like to use php's imagecreate() to
> dynamically create a background image for a profile on a periodic
> basis...
>
> I'm thinking something along the lines of a 'photo of the week'
> appearing as a sidebar (on monitors that have a large enough width...)
>
> Being that custom background images have to be uploaded from the users
> local computer, what are the possibilities here? (Could this be done
> through the API?)
>
> Just a rough sketch in my head, thanks...
>



-- 
   ---Mark

http://twitter.com/mccv


[twitter-dev] Re: Send to certain user

2009-12-09 Thread park2
I managed to get something working thanks.

What is the exact criteria needed to be able to send direct to a
user.

eg do you have to follow them they follow you , accept messages etc
etc

Cheers

SteveW

On Dec 9, 3:27 pm, Abraham Williams <4bra...@gmail.com> wrote:
> You can read about creating direct messages on the 
> wiki:http://apiwiki.twitter.com/Twitter-REST-API-Method:-direct_messagesnew
>
> You can read about making POST requests with cURL 
> here:http://netevil.org/blog/2006/nov/http-post-from-php-without-curl
>
> Abraham
>
> On Tue, Dec 8, 2009 at 14:42, park2  wrote:
> > We have an existing security product that when an alert happens we
> > send a text and email. We now need to send to a Twitter account. What
> > is the syntax to send 'test alert' to user 'test123' direct from the
> > web address bar. I am trying to do this within php without installing
> > curl.
>
> --
> Abraham Williams | Community Evangelist |http://web608.org
> Project | Intersect |http://intersect.labs.poseurtech.com
> Hacker |http://abrah.am|http://twitter.com/abraham
> This email is: [ ] shareable [x] ask first [ ] private.
> Sent from Madison, WI, United States


Re: [twitter-dev] Announcements

2009-12-09 Thread Michael Steuer
I have the same question and have posed it repeatedly via various
channels... For some reason Twitter refuses to comment on it...


On 12/9/09 1:01 PM, "Damon Clinkscales"  wrote:

> On Wed, Dec 9, 2009 at 12:23 PM, Isaiah Carew  wrote:
>> From the announcement I read here:
>> 
>> http://www.techcrunch.com/2009/12/09/twitter-le-web-2009/
>> 
>> 
>> 3) ... starting Basic Auth decprecation in June 2010.
> 
> My question is...how do you drop Basic Auth support without OAuth
> delegation.  Otherwise, how do third-party sites like TwitPic ever
> work with clients w/o the password.
> 
> Thanks,
> -damon
> --
> http://twitter.com/damon




[twitter-dev] Question regarding profile bg image... Please direct me

2009-12-09 Thread traxus
This is probably the wrong place to ask as this isn't quite an API
matter, so please forgive me and point me in the right direction if it
is...

I have an idea where I would like to use php's imagecreate() to
dynamically create a background image for a profile on a periodic
basis...

I'm thinking something along the lines of a 'photo of the week'
appearing as a sidebar (on monitors that have a large enough width...)

Being that custom background images have to be uploaded from the users
local computer, what are the possibilities here? (Could this be done
through the API?)

Just a rough sketch in my head, thanks...


Re: [twitter-dev] Announcements

2009-12-09 Thread TJ Luoma
On Wed, Dec 9, 2009 at 1:38 PM, Raffi Krikorian  wrote:
>
> On Wed, Dec 9, 2009 at 10:31 AM, Cameron Kaiser  wrote:
>>> there will be much more information about this soon.  in general, the
>>> API for browser-less apps is designed for applications or environments
>>> that are unable to bring up a web browser -- desktop clients,
>>> presumably, can still bring up a web page?
>>
>> What about text-only client such as TTYtter or the myriad of automatic
>> systems? Unless you make the OAuth page accessible over Lynx, which
>> would be cool, but I doubt. :)
>
> i wouldn't qualify a text-only client as a desktop client :P
>
> more detail will be coming - but, in general, i would ask developers
> to think about privacy from their users' standpoint :P

I've got a number of shell scripts that I run via 'curl --netrc' with
my password stored in ~/.netrc

How will OAuth work with this scenario?

I don't need anyone else's password, just my own.


Re: [twitter-dev] Re: Announcements

2009-12-09 Thread Raffi Krikorian
precisely.  no offense intended.  i was just amused.  (and, if you
knew me better, you would realise that i thought a oauth enabled text
only client is quite rad).

>> > i wouldn't qualify a text-only client as a desktop client :P
>>
>> Funny, the 800 people who are using my OAuth-enabled text-only client
>> seem to think it works just fine.  Just because -you- don't like it
>> doesn't mean it doesn't count.
>
> I don't think that's what Raffi meant. I understood it to mean that a
> text-only client isn't a typical desktop environment, which I agree with
> (hence my interest in the browserless API).
>
> --
>  personal: http://www.cameronkaiser.com/ 
> --
>  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
> -- To describe bitter medicine will not improve its flavor. -- Charlie Chan 
> ---
>



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


[twitter-dev] Re: 404 Errors on friends and followers using cursors

2009-12-09 Thread Randy
I am still seeing this issue. Trying the URLs provided by Ammo
Collector in the top post still yields 404's as well.

On Dec 9, 9:50 am, John Kalucki  wrote:
> Over the last 4 or so days there has been a few brief periods of instability
> on the backing store that provides the Social Graph. I'd re-run your test to
> see if you were just very unlucky, or if the issue persists.
>
> -John Kaluckihttp://twitter.com/jkalucki
>
> On Tue, Dec 8, 2009 at 1:40 PM, Randy  wrote:
> > I added this to the issue tracker:
> >http://code.google.com/p/twitter-api/issues/detail?id=1264
>
> > On Dec 8, 1:01 pm, Randy  wrote:
> > > I am seeing the same issue. In my case, the first four iterations work
> > > (i.e. I retrieve 400 users), but the next call gives me a 404.


Re: [twitter-dev] Re: Announcements

2009-12-09 Thread Cameron Kaiser
> > i wouldn't qualify a text-only client as a desktop client :P
> 
> Funny, the 800 people who are using my OAuth-enabled text-only client
> seem to think it works just fine.  Just because -you- don't like it
> doesn't mean it doesn't count.

I don't think that's what Raffi meant. I understood it to mean that a
text-only client isn't a typical desktop environment, which I agree with
(hence my interest in the browserless API).

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- To describe bitter medicine will not improve its flavor. -- Charlie Chan ---


[twitter-dev] Re: Announcements

2009-12-09 Thread Duane Roelands
On Dec 9, 1:38 pm, Raffi Krikorian  wrote:
> i wouldn't qualify a text-only client as a desktop client :P

Funny, the 800 people who are using my OAuth-enabled text-only client
seem to think it works just fine.  Just because -you- don't like it
doesn't mean it doesn't count.

http://GetQuitter.com - A text-only client for Twitter implemented as
a .NET console application.



Re: [twitter-dev] Announcements

2009-12-09 Thread Damon Clinkscales
On Wed, Dec 9, 2009 at 12:23 PM, Isaiah Carew  wrote:
> From the announcement I read here:
>
> http://www.techcrunch.com/2009/12/09/twitter-le-web-2009/
>
>
> 3) ... starting Basic Auth decprecation in June 2010.

My question is...how do you drop Basic Auth support without OAuth
delegation.  Otherwise, how do third-party sites like TwitPic ever
work with clients w/o the password.

Thanks,
-damon
--
http://twitter.com/damon


Re: [twitter-dev] Re: lists

2009-12-09 Thread Abraham Williams
There are a number of list methods specified in the documentation. They
include methods to get members and subscribers of lists as well as checking
if an account is a member or a subscriber of a list.

See "List Methods", "List Members Methods", and "List Subscribers Methods":

http://apiwiki.twitter.com/Twitter-API-Documentation

On Wed, Dec 9, 2009 at 13:41, Daniel Silva wrote:

> Or given a user lists with all the id of list members.
>
> 2009/12/9 Daniel Silva 
>
>  Is there any way to know if a given user is related to another given user
>> lists?
>>
>>
>> --
>> regards
>> Daniel Silva
>>
>
>
>
> --
>
>


-- 
Abraham Williams | Community Evangelist | http://web608.org
Project | Intersect | http://intersect.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Madison, WI, United States


Re: [twitter-dev] Re: lists

2009-12-09 Thread Mark McBride
Not with a single call, no.

On Wed, Dec 9, 2009 at 11:41 AM, Daniel Silva
 wrote:
> Or given a user lists with all the id of list members.
>
> 2009/12/9 Daniel Silva 
>>
>>  Is there any way to know if a given user is related to another given user
>> lists?
>>
>>
>> --
>> regards
>> Daniel Silva
>
>
>
> --
>
>



-- 
   ---Mark

http://twitter.com/mccv


[twitter-dev] A New API For Browserless Apps?

2009-12-09 Thread Duane Roelands
If we're talking about replacing the "PIN Workflow", then this is a
good idea.  If we're talking about completely different interfaces for
web and desktop apps, I can't see how that's an improvement.

Seeing as the Search API is still not in line with the rest of the
API, does this mean that we're going to have three disparate
incompatible interfaces to juggle?

How is that an improvement?


[twitter-dev] Re: lists

2009-12-09 Thread Daniel Silva
Or given a user lists with all the id of list members.

2009/12/9 Daniel Silva 

>  Is there any way to know if a given user is related to another given user
> lists?
>
>
> --
> regards
> Daniel Silva
>



--


[twitter-dev] List creation limitations

2009-12-09 Thread orian
Right now the documentation for POST Lists says that a user can own up
to 20 lists. Is this inclusive of private lists? If it is, then do the
cursor paging options in GET Lists serve a purpose (given that you can
only have 20 lists and the first cursor page returns 20) or are they
for future proofing?


Re: [twitter-dev] Re: strange search api behavior

2009-12-09 Thread Mark McBride
We've opened a ticket with the search team, I'll keep you up to date
as they make progress.

On Mon, Dec 7, 2009 at 1:20 PM, Martin Omander  wrote:
>
> Searched the bug database again and found that someone had reported
> this a couple of weeks ago: 
> http://code.google.com/p/twitter-api/issues/detail?id=1154
>
> I added my experience with the bug to the existing bug report and
> starred it. If you care about since_id working in searches, feel free
> to
> add to the bug report!
>
> /Martin
>
>
> On Dec 6, 2:47 pm, Damon Clinkscales  wrote:
>> On Sun, Dec 6, 2009 at 3:24 PM, Martin Omander  wrote:
>>
>> > I noticed the same behavior in my app: when I include since_id in the
>> > search API call, I often don't get all the tweets I should. If I run
>> > without since_id, I see tweets with IDs that should have shown up in
>> > the search where I included since_id.
>>
>> > Any response from Twitter? The since_id parameter is a very useful
>> > feature of the API. It would reduce system load and bandwidth
>> > considerably for everyone if it worked right.
>>
>> Sounds like there is confirmation. Has anyone filed an issue?
>>
>> Once you have an issue link, please post back to this thread so people
>> can star it.
>>
>> Best,
>> -damon
>> --http://twitter.com/damon
>



-- 
   ---Mark

http://twitter.com/mccv


[twitter-dev] Re: statuses/friends issue?

2009-12-09 Thread Yusuke
Hi Hansamann,
The latest snapshot build supports cursor based pagination.
Please give it a try ;)
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/ff56b7dcc0a0cf07

On 12月9日, 午前11:03, hansamann  wrote:
> Thanx, I think the issue exists because I am using the page parameter
> (via twitter4j).
>
> @twitter does deprecating also mean it stops working? :-)
>
> Cheers
> Sven
>
> On Dec 8, 1:06 pm, Randy  wrote:
>
>
>
> > Are you using "page" parameter? If so, it was recently deprecated, so
> > that would explain what you are seeing... the first page over and over
> > again. Check the API documentation to see how to use the "cursor"
> > parameter.
>
> > On Dec 6, 8:25 pm, hansamann  wrote:
>
> > > Hi all,
>
> > > my code is calling api method statuses/friends with an increasing
> > > paging to get all friends information. Since a couple of hours it
> > > seems it never reaches a page with no friends or less than n friends
> > > so my code stops the recursion.
>
> > > Anyone similar problems?


[twitter-dev] Twitter4J 2.1.0-SNAPSHOT now supports list methods / cursor-based pagination with statuses/friends and statuses/followers

2009-12-09 Thread Yusuke Yamamoto
Hi all,

I have just published the latest SNAPSHOT build which supports list methods and 
cursor-based paginations.

Lots of refactorings have been made from version 2.0.10, and I scribbled some 
migration tips. Hope it helps.
- How to migrate from version 2.0.10 to 2.1.0
http://yusuke.homeip.net/twitter4j/en/javadoc.html#migration
- JavaDoc
http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.1.0-SNAPSHOT/index.html
- JavaDoc diff from version 2.0.10
http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.0.10-2.1.0-SNAPSHOT/changes.html
- in-house maven repository
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/2.1.0-SNAPSHOT/
- Direction how to use the snapshot build with your project.
http://yusuke.homeip.net/twitter4j/en/index.html#maven
- API support matrix
http://yusuke.homeip.net/twitter4j/en/api-support.html

Most of the List API support have done by Dan Checkoway!
Many thanks, Dan!
-- 
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable/tweetable [ ] ask first [ ] private
follow me on : http://twitter.com/yusukeyamamoto
subscribe me at : http://yusuke.homeip.net/blog/



Re: [twitter-dev] Announcements

2009-12-09 Thread Raffi Krikorian
i wouldn't qualify a text-only client as a desktop client :P

more detail will be coming - but, in general, i would ask developers
to think about privacy from their users' standpoint :P

On Wed, Dec 9, 2009 at 10:31 AM, Cameron Kaiser  wrote:
>> there will be much more information about this soon.  in general, the
>> API for browser-less apps is designed for applications or environments
>> that are unable to bring up a web browser -- desktop clients,
>> presumably, can still bring up a web page?
>
> What about text-only client such as TTYtter or the myriad of automatic
> systems? Unless you make the OAuth page accessible over Lynx, which
> would be cool, but I doubt. :)
>
> --
>  personal: http://www.cameronkaiser.com/ 
> --
>  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
> -- The best defense against logic is ignorance. 
> ---
>



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


Re: [twitter-dev] Today's Platform Announcements at Le Web

2009-12-09 Thread Josh Roesslein
Thanks a lot for sharing that video link. Was just looking around for
a recording since I missed the talk.

On Wed, Dec 9, 2009 at 9:24 AM, Jonathan Markwell
 wrote:
> Hi All,
>
> Ryan made various big announcements this morning at Le Web that affect
> all of us. :) I'm sure many of you would like to hear the news
> directly as I did. You can watch it here on Ustream:
>
> http://www.ustream.tv/recorded/2748326
>
> There are also a some write-ups here:
>
> http://www.readwriteweb.com/archives/twitter_at_leweb.php
> http://www.techcrunch.com/2009/12/09/twitter-le-web-2009/
> http://blog.louisgray.com/2009/12/twitters-maturation-process-continues.html
>
> Jon.
>
> --
> Jonathan Markwell
> Engineer | Founder | Connector
>
> Inuda Innovations Ltd, Brighton, UK
>
> Web application development & support
> Twitter & Facebook integration specialists
> http://inuda.com
>
> Organising the world's first events for the Twitter developer Community
> http://TwitterDeveloperNest.com
>
> Providing a nice little place to work in the middle of Brighton -
> http://theskiff.org
>
> Measuring your brand's visibility on the social web - http://HowSociable.com
>
> mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953
> skype: jlmarkwell | twitter: http://twitter.com/jot
>


Re: [twitter-dev] Announcements

2009-12-09 Thread Cameron Kaiser
> there will be much more information about this soon.  in general, the
> API for browser-less apps is designed for applications or environments
> that are unable to bring up a web browser -- desktop clients,
> presumably, can still bring up a web page?

What about text-only client such as TTYtter or the myriad of automatic
systems? Unless you make the OAuth page accessible over Lynx, which 
would be cool, but I doubt. :)

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- The best defense against logic is ignorance. ---


Re: [twitter-dev] Announcements

2009-12-09 Thread Raffi Krikorian
there will be much more information about this soon.  in general, the
API for browser-less apps is designed for applications or environments
that are unable to bring up a web browser -- desktop clients,
presumably, can still bring up a web page?  either way, the benefit of
the web page is that you give the user a sense of security that their
twitter username and password is safe and unshared.

On Wed, Dec 9, 2009 at 10:23 AM, Isaiah Carew  wrote:
> From the announcement I read here:
>
> http://www.techcrunch.com/2009/12/09/twitter-le-web-2009/
>
>
> 3) Anyone making OAuth requests to Twitter is soon getting an increased rate
> limit (10x) – about to launch API for browser-less apps, and starting Basic
> Auth decprecation in June 2010.
>
> Is there more info about this available.  I'd love to know more about the
> "API for browser-less apps" -- specifically:
> 1)  Will this be appropriate for desktop clients?
> 2)  When?
> Thanks,
> isaiah
> http://twitter.com/isaiah
>



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


Re: [twitter-dev] Caching/updating list of user's following/followers

2009-12-09 Thread Abraham Williams
Nope. You won't. The only way you will be able to track username changes is
if you pull all of the user objects.

Abraham

On Wed, Dec 9, 2009 at 11:36, Anton Krasovsky wrote:

> Sure. You won't be able to track username changes with it though?
>
> Anton
>
> On Wed, Dec 9, 2009 at 5:26 PM, Abraham Williams <4bra...@gmail.com>
> wrote:
> > You can also use the Social Graph methods and users/show to fill in
> missing
> > profiles.
> > http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-friends%C2%A0ids
> > http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-followers%C2%A0ids
> > Abraham
> > On Wed, Dec 9, 2009 at 11:20, John Kalucki  wrote:
> >>
> >> Recent adds will always be at the top of the list. If you know the count
> >> and the recent adds, you can probabilistically determine if there are
> recent
> >> deletes, but then you have to pull the entire set. Yes, this isn't
> great.
> >> -John Kalucki
> >> http://twitter.com/jkalucki
> >> Services, Twitter Inc.
> >>
> >> On Wed, Dec 9, 2009 at 8:51 AM, Anton Krasovsky
> >>  wrote:
> >>>
> >>> I'd like to retrieve and store a list of usernames particular user is
> >>> following/followed by. However I've no idea how to update the this
> >>> list (say a next day after it has been retrieved) with the recent
> >>> changes. So far it looks like the only option is to re-fetch the whole
> >>> list again. Is there any other way to get just a changes to this list
> >>> (names added/deleted)?
> >>>
> >>> Regards,
> >>> Anton
> >>
> >
> >
> >
> > --
> > Abraham Williams | Community Evangelist | http://web608.org
> > Project | Intersect | http://intersect.labs.poseurtech.com
> > Hacker | http://abrah.am | http://twitter.com/abraham
> > This email is: [ ] shareable [x] ask first [ ] private.
> > Sent from Madison, WI, United States
>



-- 
Abraham Williams | Community Evangelist | http://web608.org
Project | Intersect | http://intersect.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Madison, WI, United States


Re: [twitter-dev] Announcements

2009-12-09 Thread Cameron Kaiser
> Is there more info about this available.  I'd love to know more about the
> "API for browser-less apps" -- specifically:
> 1)  Will this be appropriate for desktop clients?

Indeed.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Well done is better than well said. -- Benjamin Franklin ---


Re: [twitter-dev] Caching/updating list of user's following/followers

2009-12-09 Thread Anton Krasovsky
Sure. You won't be able to track username changes with it though?

Anton

On Wed, Dec 9, 2009 at 5:26 PM, Abraham Williams <4bra...@gmail.com> wrote:
> You can also use the Social Graph methods and users/show to fill in missing
> profiles.
> http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-friends%C2%A0ids
> http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-followers%C2%A0ids
> Abraham
> On Wed, Dec 9, 2009 at 11:20, John Kalucki  wrote:
>>
>> Recent adds will always be at the top of the list. If you know the count
>> and the recent adds, you can probabilistically determine if there are recent
>> deletes, but then you have to pull the entire set. Yes, this isn't great.
>> -John Kalucki
>> http://twitter.com/jkalucki
>> Services, Twitter Inc.
>>
>> On Wed, Dec 9, 2009 at 8:51 AM, Anton Krasovsky
>>  wrote:
>>>
>>> I'd like to retrieve and store a list of usernames particular user is
>>> following/followed by. However I've no idea how to update the this
>>> list (say a next day after it has been retrieved) with the recent
>>> changes. So far it looks like the only option is to re-fetch the whole
>>> list again. Is there any other way to get just a changes to this list
>>> (names added/deleted)?
>>>
>>> Regards,
>>> Anton
>>
>
>
>
> --
> Abraham Williams | Community Evangelist | http://web608.org
> Project | Intersect | http://intersect.labs.poseurtech.com
> Hacker | http://abrah.am | http://twitter.com/abraham
> This email is: [ ] shareable [x] ask first [ ] private.
> Sent from Madison, WI, United States


[twitter-dev] Announcements

2009-12-09 Thread Isaiah Carew
From the announcement I read here:

http://www.techcrunch.com/2009/12/09/twitter-le-web-2009/


> 3) Anyone making OAuth requests to Twitter is soon getting an increased rate 
> limit (10x) – about to launch API for browser-less apps, and starting Basic 
> Auth decprecation in June 2010.

Is there more info about this available.  I'd love to know more about the "API 
for browser-less apps" -- specifically:

1)  Will this be appropriate for desktop clients?

2)  When?

Thanks,

isaiah
http://twitter.com/isaiah



Re: [twitter-dev] Oauth authentication just run in IE .. Why?

2009-12-09 Thread Daniel Silva
I do understand that in a web application that problem may occur, however
I'm developing a w3c widget, and so, I  don't have any associated domain.
How can I authenticate a w3c widget using Oauth with javascript?

2009/11/30 Raffi Krikorian 

> i think that's the problem - you can't make an ajax request to a server
> that is not hosting the HTML/Javascript that you are loading in the browser
> (look for "same origin 
> policy").
>  it *may* be possible to do it using jsonp, but i haven't tried it myself.
>
> Yes, it is. I'm using this Oauth API
> http://oauth.googlecode.com/svn/code/javascript/oauth.js
>
> is this a cross domain ajax request issue?
>>
>>  I'm doing Oauth authentication for my application and it run's well in
>>> IE. When i change to Firefox, Safari or Opera this error appears
>>> "[Exception... "Component returned failure code: 0x80004005
>>> (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult: "0x80004005
>>> (NS_ERROR_FAILURE)"  location: "JS frame :: " when I'm sending the
>>> tokens for application.
>>>
>>> Why this append?
>>>
>>> thanks for the help..
>>>
>>> best regards,
>>> Daniel
>>>
>>
> --
> Raffi Krikorian
> Twitter Platform Team
> ra...@twitter.com | @raffi
>
>
>
>
>


-- 
regards,

Daniel Silva


Re: [twitter-dev] Re: 404 Errors on friends and followers using cursors

2009-12-09 Thread John Kalucki
Over the last 4 or so days there has been a few brief periods of instability
on the backing store that provides the Social Graph. I'd re-run your test to
see if you were just very unlucky, or if the issue persists.

-John Kalucki
http://twitter.com/jkalucki


On Tue, Dec 8, 2009 at 1:40 PM, Randy  wrote:

> I added this to the issue tracker:
> http://code.google.com/p/twitter-api/issues/detail?id=1264
>
> On Dec 8, 1:01 pm, Randy  wrote:
> > I am seeing the same issue. In my case, the first four iterations work
> > (i.e. I retrieve 400 users), but the next call gives me a 404.
>


Re: [twitter-dev] Inconsistent member_count of list

2009-12-09 Thread John Kalucki
Probably some cache inconsistency on our end.

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


On Wed, Dec 9, 2009 at 5:44 AM, tobi  wrote:

> Hello
>
> The Twitter site shows the number 499 as amount of members of the list
> @Oberhause/austrians:
>
> http://twitter.com/Oberhauser/austrians/members
>
> However, I am getting a different value (currently 500) for
> member_count when requesting the list via API:
>
> curl -u user:pass
> http://api.twitter.com/1/Oberhauser/lists/austrians.json
>
> {
>   "mode":"public",
>   "description":"",
>   "uri":"/Oberhauser/austrians",
>   "member_count":500,  <-- here we go
>   "slug": ...
> }
>
> Am I doing something wrong?
>
> Regards,
> tobi
>


Re: [twitter-dev] How do I know when user posted new tweet

2009-12-09 Thread John Kalucki
You should use the follow parameter on the track resource in the Streaming
API.

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


On Tue, Dec 8, 2009 at 11:30 PM, Quy  wrote:

> I plan to use the API to grab the latest tweets from a user but don't
> want to have to ping the user every 10 minutes. What's the best way to
> check if there is a new tweet from a user? Should I check the status
> id of the last tweet and see if it has changed?
>


[twitter-dev] Re: Basic Auth deprecation coming

2009-12-09 Thread Patrick

Because Twitter would require keys, not usernames and passwords.
Logons go to Twitter, and keys are returned.  Programs would (will)
break unless grandfathered, but that's a manageable issue.

That said, there should be a way for developers to use Basic Auth to
"hash out" (develop) their code for eventual oAuth implementations. It
is too useful for developers to do initial coding (or at leasat some
coding) in Basic Auth, and then tweak and package it for oAuth, as I
see it.

~Patrick

On Dec 9, 9:24 pm, "Dean Collins"  wrote:
> How are they going to stop basic auth?
>
> If a website already have the username/passwords doesn't that mean they
> can log in on a users behalf until they change the password via the
> twitter.com website?
>
> Cheers,
>
> Dean
>
>
>
> -Original Message-
> From: twitter-development-talk@googlegroups.com
>
> [mailto:twitter-development-t...@googlegroups.com] On Behalf Of Patrick
> Kennedy
> Sent: Wednesday, December 09, 2009 9:12 AM
> To: twitter-development-talk@googlegroups.com
> Subject: [twitter-dev] Basic Auth deprecation coming
>
> With Basic Auth deprecation coming in June 2010, will developers have
> a "sand box" way to use Basic Auth?  I mean, it's handy to develop and
> understand code with Basic Auth, and then cut it over to oAuth. Any
> ideas?- Hide quoted text -
>
> - Show quoted text -


Re: [twitter-dev] Cursor Expiration

2009-12-09 Thread John Kalucki
A cursor should be valid forever, but as it ages and rows are removed, you
might see some minor data loss and probably more duplicates.

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



On Wed, Dec 9, 2009 at 12:44 AM, Alan Gutierrez  wrote:

> Although million follower accounts are rare, how to I design for a million
> follower user logged into my application which users Social Graph API?
>
> If Barack Obama were to log into my application, it would take 566 API
> calls to fetch his 2,828,782 followers, but I wouldn't have any left after
> the 150 API calls to fetch his 747,127 friends.
>
> Obviously, I'd like to work my way through the list a little bit each hour.
> I'd like to store the cursor after 30 API calls, resume my iteration over an
> hour later.
>
> When do cursors expire? I assume they will still be valid an hour later,
> but I've seen discussion on this group that says that they are opaque and
> that they may change at some point. I suppose that when that time goes, if
> my application is crawling a celebrity, it will not be able to resume
> crawling with the cursor it stored an hour before.
>
> Alan Gutierrez
> http://twitter.com/bigeasy
>


Re: [twitter-dev] Caching/updating list of user's following/followers

2009-12-09 Thread Abraham Williams
You can also use the Social Graph methods and users/show to fill in missing
profiles.

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-friends%C2%A0ids
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-followers%C2%A0ids

Abraham

On Wed, Dec 9, 2009 at 11:20, John Kalucki  wrote:

> Recent adds will always be at the top of the list. If you know the count
> and the recent adds, you can probabilistically determine if there are recent
> deletes, but then you have to pull the entire set. Yes, this isn't great.
>
> -John Kalucki
> http://twitter.com/jkalucki
> Services, Twitter Inc.
>
>
> On Wed, Dec 9, 2009 at 8:51 AM, Anton Krasovsky  > wrote:
>
>> I'd like to retrieve and store a list of usernames particular user is
>> following/followed by. However I've no idea how to update the this
>> list (say a next day after it has been retrieved) with the recent
>> changes. So far it looks like the only option is to re-fetch the whole
>> list again. Is there any other way to get just a changes to this list
>> (names added/deleted)?
>>
>> Regards,
>> Anton
>>
>
>


-- 
Abraham Williams | Community Evangelist | http://web608.org
Project | Intersect | http://intersect.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Madison, WI, United States


Re: [twitter-dev] Caching/updating list of user's following/followers

2009-12-09 Thread John Kalucki
Recent adds will always be at the top of the list. If you know the count and
the recent adds, you can probabilistically determine if there are recent
deletes, but then you have to pull the entire set. Yes, this isn't great.

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


On Wed, Dec 9, 2009 at 8:51 AM, Anton Krasovsky
wrote:

> I'd like to retrieve and store a list of usernames particular user is
> following/followed by. However I've no idea how to update the this
> list (say a next day after it has been retrieved) with the recent
> changes. So far it looks like the only option is to re-fetch the whole
> list again. Is there any other way to get just a changes to this list
> (names added/deleted)?
>
> Regards,
> Anton
>


Re: [twitter-dev] Re: Regarding the search API based on Geo location

2009-12-09 Thread Raffi Krikorian
The geo field is only set if the status was sent using the geo tagging  
API. I'd using the search API and the geocode parameter, then a series  
of other techniques are applied to find tweets near that location (a  
user's profile location, amongst others).


I encourage you to tweet something using the geotagging API, and then  
search for it so you can understand how geo floats through the Twitter  
system.




On Dec 9, 2009, at 8:00 AM, Diogo  wrote:


Seems like you are right, both searches are returning results normally
now.

Yet, in both searches all the results are coming with the "geo" field
empty. Actually, I dont think Ive ever seen any result with this "geo"
field non-empty.

Problem is: what I need to do, once I get the results from within São
Paulo, is to present each tweet on google maps component based on its
exactly location. How am I supposed to do that? Inst the "geo" field
supposed to hold the geo location of the tweet? Or do I have to
perform another query to get this location?

Im still kinda clueless here, and will apreciate any help. Thanks.

On Dec 8, 3:50 pm, Abraham Williams <4bra...@gmail.com> wrote:
Both of those links work fine for me. Maybe it was just a temporary  
hiccup.


Abraham



On Mon, Dec 7, 2009 at 15:42, Diogo  wrote:

Hi all,


If been using the search API for some months for various projects  
and

now Ive been asked to code an app that is supposed to search for a
specific word within the city of São Paulo and display the resul 
ts on

google maps using the tweet location.



After reading the Search API docs  (http://apiwiki.twitter.com/Twitter-
Search-API-Method%3A-search), I understood (perhaps wrongly) that Im
supposed to search like this, for example:


http://search.twitter.com:80/search.json?q=festa&geocode=-23.55,-46.6 
...



What Im trying here: Im searching for the word "festa" providing the
location of the center of São Paulo (according to wikipedia) and an
arbitrary radius. As I understood, this is supoposed to return
geotagged tweets with the word "festa" from within the provided geo
range. Right?



However, Ive tried searching like this using Zend_Twitter PHP class
and pasting this URL directly to the browser. In both cases, I get
this error:



error: "Couldn't find Status with ID=6025096957"



Whats it means? What am I doing wrong here? I probably missing
something, but I just cant figure it out.



Actually, even when I try the URL provided as example (http://
search.twitter.com/search.atom? 
geocode=40.757929%2C-73.985506%2C25km)

on the docs, I get this same message .



So, how am I supposed to be doing this? Please help.


--
Abraham Williams | Community Evangelist |http://web608.org
Hacker |http://abrah.am|http://twitter.com/abraham
Project | Awesome Lists |http://twitterli.st
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, WI, United States


[twitter-dev] Re: Browserless App API was Re: Today's Platform Announcements at Le Web

2009-12-09 Thread Rich
I'm looking forward to hearing about oAuth changes that might let us
integrate our apps with other oAuth apps, e.g. when Basic Auth is
deprecated how we will use TwitPic from another service?

I'm also looking forward to oAuth apps getting higher rate limits too

On Dec 9, 3:49 pm, Cameron Kaiser  wrote:
> [Charset ISO-8859-1 unsupported, filtering to ASCII...]
>
> > Hi All,
>
> > Ryan made various big announcements this morning at Le Web that affect
> > all of us. :) I'm sure many of you would like to hear the news
> > directly as I did. You can watch it here on Ustream:
>
> >http://www.ustream.tv/recorded/2748326
>
> > There are also a some write-ups here:
>
> >http://www.readwriteweb.com/archives/twitter_at_leweb.php
> >http://www.techcrunch.com/2009/12/09/twitter-le-web-2009/
> >http://blog.louisgray.com/2009/12/twitters-maturation-process-continu...
>
> "a new API for browserless apps" ?
>
> Since I'm maintaining a browserless app, I'd like to hear more about this.
>
> --
>  personal:http://www.cameronkaiser.com/--
>   Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com
> -- Greek tailor shop: "Euripedes?" "Yes -- Eumenides?" 
> 


[twitter-dev] Re: Regarding the search API based on Geo location

2009-12-09 Thread Diogo
Seems like you are right, both searches are returning results normally
now.

Yet, in both searches all the results are coming with the "geo" field
empty. Actually, I dont think Ive ever seen any result with this "geo"
field non-empty.

Problem is: what I need to do, once I get the results from within São
Paulo, is to present each tweet on google maps component based on its
exactly location. How am I supposed to do that? Inst the "geo" field
supposed to hold the geo location of the tweet? Or do I have to
perform another query to get this location?

Im still kinda clueless here, and will apreciate any help. Thanks.

On Dec 8, 3:50 pm, Abraham Williams <4bra...@gmail.com> wrote:
> Both of those links work fine for me. Maybe it was just a temporary hiccup.
>
> Abraham
>
>
>
> On Mon, Dec 7, 2009 at 15:42, Diogo  wrote:
> > Hi all,
>
> > If been using the search API for some months for various projects and
> > now Ive been asked to code an app that is supposed to search for a
> > specific word within the city of São Paulo and display the results on
> > google maps using the tweet location.
>
> > After reading the Search API docs  (http://apiwiki.twitter.com/Twitter-
> > Search-API-Method%3A-search), I understood (perhaps wrongly) that Im
> > supposed to search like this, for example:
>
> >http://search.twitter.com:80/search.json?q=festa&geocode=-23.55,-46.6...
>
> > What Im trying here: Im searching for the word "festa" providing the
> > location of the center of São Paulo (according to wikipedia) and an
> > arbitrary radius. As I understood, this is supoposed to return
> > geotagged tweets with the word "festa" from within the provided geo
> > range. Right?
>
> > However, Ive tried searching like this using Zend_Twitter PHP class
> > and pasting this URL directly to the browser. In both cases, I get
> > this error:
>
> > error: "Couldn't find Status with ID=6025096957"
>
> > Whats it means? What am I doing wrong here? I probably missing
> > something, but I just cant figure it out.
>
> > Actually, even when I try the URL provided as example (http://
> > search.twitter.com/search.atom?geocode=40.757929%2C-73.985506%2C25km)
> > on the docs, I get this same message .
>
> > So, how am I supposed to be doing this? Please help.
>
> --
> Abraham Williams | Community Evangelist |http://web608.org
> Hacker |http://abrah.am|http://twitter.com/abraham
> Project | Awesome Lists |http://twitterli.st
> This email is: [ ] blogable [x] ask first [ ] private.
> Sent from Madison, WI, United States


[twitter-dev] Caching/updating list of user's following/followers

2009-12-09 Thread Anton Krasovsky
I'd like to retrieve and store a list of usernames particular user is
following/followed by. However I've no idea how to update the this
list (say a next day after it has been retrieved) with the recent
changes. So far it looks like the only option is to re-fetch the whole
list again. Is there any other way to get just a changes to this list
(names added/deleted)?

Regards,
Anton


[twitter-dev] lists

2009-12-09 Thread Daniel Silva
 Is there any way to know if a given user is related to another given user
lists?


-- 
regards
Daniel Silva


Re: [twitter-dev] Basic Auth deprecation coming

2009-12-09 Thread Raffi Krikorian
Yup - there will be both a web based sandbox, and a command line tool  
that operates in a way similar to curl, but will do oauth for you.  
Both are there to help developers experiment.




On Dec 9, 2009, at 7:57 AM, Cameron Kaiser  wrote:


With Basic Auth deprecation coming in June 2010, will developers have
a "sand box" way to use Basic Auth?  I mean, it's handy to develop  
and

understand code with Basic Auth, and then cut it over to oAuth. Any
ideas?


It is my understanding that a sandbox idea is being conceived of.

--
 personal: http://www.cameronkaiser.com/ 
 --

 Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- UNHOLY UNION: Heavy Metal and Electronics -> Twisted Trans Sister  
--


Re: [twitter-dev] Cursor Expiration

2009-12-09 Thread Abraham Williams
Check out the section about whitelisting:
http://apiwiki.twitter.com/Rate-limiting

Abraham

On Wed, Dec 9, 2009 at 02:44, Alan Gutierrez  wrote:

> Although million follower accounts are rare, how to I design for a million
> follower user logged into my application which users Social Graph API?
>
> If Barack Obama were to log into my application, it would take 566 API
> calls to fetch his 2,828,782 followers, but I wouldn't have any left after
> the 150 API calls to fetch his 747,127 friends.
>
> Obviously, I'd like to work my way through the list a little bit each hour.
> I'd like to store the cursor after 30 API calls, resume my iteration over an
> hour later.
>
> When do cursors expire? I assume they will still be valid an hour later,
> but I've seen discussion on this group that says that they are opaque and
> that they may change at some point. I suppose that when that time goes, if
> my application is crawling a celebrity, it will not be able to resume
> crawling with the cursor it stored an hour before.
>
> Alan Gutierrez
> http://twitter.com/bigeasy
>



-- 
Abraham Williams | Community Evangelist | http://web608.org
Project | Intersect | http://intersect.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Madison, WI, United States


Re: [twitter-dev] Given "bad" Consumer Keys/Secret Keys

2009-12-09 Thread Abraham Williams
Email a...@twitter.com with the screen_name/app id/etc and hopefully they can
sort you out.

Abraham

On Tue, Dec 8, 2009 at 19:47, Bryan Veloso  wrote:

> I've been wrestling with getting OAuth in my Django application to
> work; as I've been receiving the (401, 'Unauthorized', 'Failed to
> validate oauth signature and token') error at the "request_token"
> stage. My clock is synced, so that was never a problem for me. I
> started to analyze the URLs coming out of the OAuth library, but those
> always looked fine.
>
> Then I got some help from a friend who in turn let me try his
> application. I used my keys with his application and they failed (when
> obviously, his application worked). Then I thought to do the reverse.
> So I used his keys with my application and the authorization screen
> came up as expected.
>
> I have no idea what could be causing this and I've thoroughly stumped
> friends of mine as well. The only thing I can think of is that the
> keys I'm being given don't work. Note that I've reset them and I have
> created new applications, but with no luck.
>



-- 
Abraham Williams | Community Evangelist | http://web608.org
Project | Intersect | http://intersect.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Madison, WI, United States


Re: [twitter-dev] Basic Auth deprecation coming

2009-12-09 Thread Cameron Kaiser
> With Basic Auth deprecation coming in June 2010, will developers have
> a "sand box" way to use Basic Auth?  I mean, it's handy to develop and
> understand code with Basic Auth, and then cut it over to oAuth. Any
> ideas?

It is my understanding that a sandbox idea is being conceived of.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- UNHOLY UNION: Heavy Metal and Electronics -> Twisted Trans Sister --


[twitter-dev] Browserless App API was Re: Today's Platform Announcements at Le Web

2009-12-09 Thread Cameron Kaiser
[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> Hi All,
> 
> Ryan made various big announcements this morning at Le Web that affect
> all of us. :) I'm sure many of you would like to hear the news
> directly as I did. You can watch it here on Ustream:
> 
> http://www.ustream.tv/recorded/2748326
> 
> There are also a some write-ups here:
> 
> http://www.readwriteweb.com/archives/twitter_at_leweb.php
> http://www.techcrunch.com/2009/12/09/twitter-le-web-2009/
> http://blog.louisgray.com/2009/12/twitters-maturation-process-continues.html

"a new API for browserless apps" ?

Since I'm maintaining a browserless app, I'd like to hear more about this.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Greek tailor shop: "Euripedes?" "Yes -- Eumenides?" 


Re: [twitter-dev] Send to certain user

2009-12-09 Thread Abraham Williams
You can read about creating direct messages on the wiki:
http://apiwiki.twitter.com/Twitter-REST-API-Method:-direct_messages new

You can read about making POST requests with cURL here:
http://netevil.org/blog/2006/nov/http-post-from-php-without-curl

Abraham

On Tue, Dec 8, 2009 at 14:42, park2  wrote:

> We have an existing security product that when an alert happens we
> send a text and email. We now need to send to a Twitter account. What
> is the syntax to send 'test alert' to user 'test123' direct from the
> web address bar. I am trying to do this within php without installing
> curl.
>



-- 
Abraham Williams | Community Evangelist | http://web608.org
Project | Intersect | http://intersect.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Madison, WI, United States


Re: [twitter-dev] Basic Auth deprecation coming

2009-12-09 Thread Michael Steuer
They can force oauth authentication for authenticated API calls. If  
the API stops looking at the HTTP_AUTH_USER to determine who the user  
is, basic auth has been deprecated...




On Dec 9, 2009, at 6:24 AM, "Dean Collins"  wrote:



How are they going to stop basic auth?

If a website already have the username/passwords doesn't that mean  
they

can log in on a users behalf until they change the password via the
twitter.com website?





Cheers,

Dean




-Original Message-
From: twitter-development-talk@googlegroups.com
[mailto:twitter-development-t...@googlegroups.com] On Behalf Of  
Patrick

Kennedy
Sent: Wednesday, December 09, 2009 9:12 AM
To: twitter-development-talk@googlegroups.com
Subject: [twitter-dev] Basic Auth deprecation coming

With Basic Auth deprecation coming in June 2010, will developers have
a "sand box" way to use Basic Auth?  I mean, it's handy to develop and
understand code with Basic Auth, and then cut it over to oAuth. Any
ideas?


[twitter-dev] Today's Platform Announcements at Le Web

2009-12-09 Thread Jonathan Markwell
Hi All,

Ryan made various big announcements this morning at Le Web that affect
all of us. :) I'm sure many of you would like to hear the news
directly as I did. You can watch it here on Ustream:

http://www.ustream.tv/recorded/2748326

There are also a some write-ups here:

http://www.readwriteweb.com/archives/twitter_at_leweb.php
http://www.techcrunch.com/2009/12/09/twitter-le-web-2009/
http://blog.louisgray.com/2009/12/twitters-maturation-process-continues.html

Jon.

-- 
Jonathan Markwell
Engineer | Founder | Connector

Inuda Innovations Ltd, Brighton, UK

Web application development & support
Twitter & Facebook integration specialists
http://inuda.com

Organising the world's first events for the Twitter developer Community
http://TwitterDeveloperNest.com

Providing a nice little place to work in the middle of Brighton -
http://theskiff.org

Measuring your brand's visibility on the social web - http://HowSociable.com

mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953
skype: jlmarkwell | twitter: http://twitter.com/jot


Re: [twitter-dev] How do I know when user posted new tweet

2009-12-09 Thread John Meyer

On 12/9/2009 12:30 AM, Quy wrote:

I plan to use the API to grab the latest tweets from a user but don't
want to have to ping the user every 10 minutes. What's the best way to
check if there is a new tweet from a user? Should I check the status
id of the last tweet and see if it has changed?

   


Query with the user's ID and sinceid parameters.



RE: [twitter-dev] Basic Auth deprecation coming

2009-12-09 Thread Dean Collins

How are they going to stop basic auth?

If a website already have the username/passwords doesn't that mean they
can log in on a users behalf until they change the password via the
twitter.com website?

 

 

Cheers,

Dean

 


-Original Message-
From: twitter-development-talk@googlegroups.com
[mailto:twitter-development-t...@googlegroups.com] On Behalf Of Patrick
Kennedy
Sent: Wednesday, December 09, 2009 9:12 AM
To: twitter-development-talk@googlegroups.com
Subject: [twitter-dev] Basic Auth deprecation coming

With Basic Auth deprecation coming in June 2010, will developers have
a "sand box" way to use Basic Auth?  I mean, it's handy to develop and
understand code with Basic Auth, and then cut it over to oAuth. Any
ideas?


[twitter-dev] Basic Auth deprecation coming

2009-12-09 Thread Patrick Kennedy
With Basic Auth deprecation coming in June 2010, will developers have
a "sand box" way to use Basic Auth?  I mean, it's handy to develop and
understand code with Basic Auth, and then cut it over to oAuth. Any
ideas?


Re: [twitter-dev] Re: Send to certain user

2009-12-09 Thread Cameron Kaiser
> > this is not a question about the API... _however, try "d test123 test
> > alert" or something like that.

> Sorry What is the correct group. Do you hvwe the exact syntax to use
> please

D test123 message

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Hark, the Herald Tribune sings/Advertising wondrous things. -- Tom Lehrer --


[twitter-dev] Inconsistent member_count of list

2009-12-09 Thread tobi
Hello

The Twitter site shows the number 499 as amount of members of the list
@Oberhause/austrians:

http://twitter.com/Oberhauser/austrians/members

However, I am getting a different value (currently 500) for
member_count when requesting the list via API:

curl -u user:pass  http://api.twitter.com/1/Oberhauser/lists/austrians.json

{
   "mode":"public",
   "description":"",
   "uri":"/Oberhauser/austrians",
   "member_count":500,  <-- here we go
   "slug": ...
}

Am I doing something wrong?

Regards,
tobi


[twitter-dev] Re: OAuth: Invalid / expired Token (new thread to avoid bumping some ancient ones)

2009-12-09 Thread David P. Novakovic
Long story short - my code was calling back to another machine which was
doing some access_key stuff in the background before failing. (where i was
then changing the callback url to my dev server.

Embarrassing. :)

2009/12/9 David P. Novakovic 

> Here is some debug output, one request works, the other doesn't:
>
> send: 'GET
> https://twitter.com/oauth/access_token?oauth_nonce=97617413&oauth_timestamp=1260356596&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=qnSbZSfRd07YGMA7r4Ryeg&oauth_verifier=aY9IfxsldrPOXo9p5wf9q06Kd309AQTXdH0CjRtHrB8&oauth_version=1.0&oauth_token=4wDRSCOReIYQDxQn2qoLJFd2L1TIFfubtAiVjj6LJls&oauth_signature=vdDpwAmsJjT6PLdOs9xDByeJ6I4%3DHTTP/1.1\r\n
> Host: twitter.com\r\nAccept-Encoding: identity\r\n\r\n'
> reply: 'HTTP/1.1 401 Unauthorized\r\n'
>
>
> send: 'GET
> https://twitter.com/oauth/access_token?oauth_nonce=31090281&oauth_timestamp=1260356458&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=qnSbZSfRd07YGMA7r4Ryeg&oauth_verifier=lBUMe20PVNYdIJF5C7dMZr9yILbBOzEo3ztRf7ZE&oauth_version=1.0&oauth_token=zv8mkQtZM71wQOLwhrLUkWqoHgpbAq9sh8I8noQz9K4&oauth_signature=zkP4U0%2F5blNwGSqeQ3EKiaaACjA%3DHTTP/1.1\r\n
> Host: twitter.com\r\nAccept-Encoding: identity\r\n\r\n'
> reply: 'HTTP/1.1 200 OK\r\n'
>
> On Wed, Dec 9, 2009 at 8:26 PM, David Novakovic 
> wrote:
>
>> Hey, I'm getting expired/invalid token when trying to exchange for an
>> access token.
>>
>> The nonce and timestamp I send to request_token are as follows:
>> oauth_nonce=47182638
>> oauth_timestamp=1260353394
>>
>> As can be seen the token can't have expired because it is only a few
>> second afterwards that i request the access token:
>>
>> 
>> 
>>  /oauth/access_token?
>>
>> oauth_nonce=69429708&oauth_timestamp=1260353414&oauth_signature_method=HMAC-
>>
>> SHA1&oauth_consumer_key=qnSbZSfRd07YGMA7r4Ryeg&oauth_verifier=vNbCkCtVvDSeCmO69OdHck3GyCLMK5bgJ7ChUy9fTpg&oauth_version=1.0&oauth_token=Ff7mXXp55BVbPJYqCaiIa84oxpXODOt4wEURbfzCw&oauth_signature=4y4lDhUa20O2ahmt
>> %2B1HA8ZKMB88%3D
>>  Invalid / expired Token
>> 
>>
>> I'm sending a GET request.. so my Authorization header value is ->
>> OAuth realm=""  I think that is right?
>>
>> Thanks for any help anyone!
>>
>>
>


[twitter-dev] Re: OAuth: Invalid / expired Token (new thread to avoid bumping some ancient ones)

2009-12-09 Thread David P. Novakovic
Here is some debug output, one request works, the other doesn't:

send: 'GET
https://twitter.com/oauth/access_token?oauth_nonce=97617413&oauth_timestamp=1260356596&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=qnSbZSfRd07YGMA7r4Ryeg&oauth_verifier=aY9IfxsldrPOXo9p5wf9q06Kd309AQTXdH0CjRtHrB8&oauth_version=1.0&oauth_token=4wDRSCOReIYQDxQn2qoLJFd2L1TIFfubtAiVjj6LJls&oauth_signature=vdDpwAmsJjT6PLdOs9xDByeJ6I4%3DHTTP/1.1\r\n
Host: twitter.com\r\nAccept-Encoding: identity\r\n\r\n'
reply: 'HTTP/1.1 401 Unauthorized\r\n'


send: 'GET
https://twitter.com/oauth/access_token?oauth_nonce=31090281&oauth_timestamp=1260356458&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=qnSbZSfRd07YGMA7r4Ryeg&oauth_verifier=lBUMe20PVNYdIJF5C7dMZr9yILbBOzEo3ztRf7ZE&oauth_version=1.0&oauth_token=zv8mkQtZM71wQOLwhrLUkWqoHgpbAq9sh8I8noQz9K4&oauth_signature=zkP4U0%2F5blNwGSqeQ3EKiaaACjA%3DHTTP/1.1\r\n
Host: twitter.com\r\nAccept-Encoding: identity\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'

On Wed, Dec 9, 2009 at 8:26 PM, David Novakovic wrote:

> Hey, I'm getting expired/invalid token when trying to exchange for an
> access token.
>
> The nonce and timestamp I send to request_token are as follows:
> oauth_nonce=47182638
> oauth_timestamp=1260353394
>
> As can be seen the token can't have expired because it is only a few
> second afterwards that i request the access token:
>
> 
> 
>  /oauth/access_token?
>
> oauth_nonce=69429708&oauth_timestamp=1260353414&oauth_signature_method=HMAC-
>
> SHA1&oauth_consumer_key=qnSbZSfRd07YGMA7r4Ryeg&oauth_verifier=vNbCkCtVvDSeCmO69OdHck3GyCLMK5bgJ7ChUy9fTpg&oauth_version=1.0&oauth_token=Ff7mXXp55BVbPJYqCaiIa84oxpXODOt4wEURbfzCw&oauth_signature=4y4lDhUa20O2ahmt
> %2B1HA8ZKMB88%3D
>  Invalid / expired Token
> 
>
> I'm sending a GET request.. so my Authorization header value is ->
> OAuth realm=""  I think that is right?
>
> Thanks for any help anyone!
>
>


[twitter-dev] OAuth: Invalid / expired Token (new thread to avoid bumping some ancient ones)

2009-12-09 Thread David Novakovic
Hey, I'm getting expired/invalid token when trying to exchange for an
access token.

The nonce and timestamp I send to request_token are as follows:
oauth_nonce=47182638
oauth_timestamp=1260353394

As can be seen the token can't have expired because it is only a few
second afterwards that i request the access token:



  /oauth/access_token?
oauth_nonce=69429708&oauth_timestamp=1260353414&oauth_signature_method=HMAC-
SHA1&oauth_consumer_key=qnSbZSfRd07YGMA7r4Ryeg&oauth_verifier=vNbCkCtVvDSeCmO69OdHck3GyCLMK5bgJ7ChUy9fTpg&oauth_version=1.0&oauth_token=Ff7mXXp55BVbPJYqCaiIa84oxpXODOt4wEURbfzCw&oauth_signature=4y4lDhUa20O2ahmt
%2B1HA8ZKMB88%3D
  Invalid / expired Token


I'm sending a GET request.. so my Authorization header value is ->
OAuth realm=""  I think that is right?

Thanks for any help anyone!



[twitter-dev] Cursor Expiration

2009-12-09 Thread Alan Gutierrez
Although million follower accounts are rare, how to I design for a 
million follower user logged into my application which users Social 
Graph API?


If Barack Obama were to log into my application, it would take 566 API 
calls to fetch his 2,828,782 followers, but I wouldn't have any left 
after the 150 API calls to fetch his 747,127 friends.


Obviously, I'd like to work my way through the list a little bit each 
hour. I'd like to store the cursor after 30 API calls, resume my 
iteration over an hour later.


When do cursors expire? I assume they will still be valid an hour later, 
but I've seen discussion on this group that says that they are opaque 
and that they may change at some point. I suppose that when that time 
goes, if my application is crawling a celebrity, it will not be able to 
resume crawling with the cursor it stored an hour before.


Alan Gutierrez
http://twitter.com/bigeasy


[twitter-dev] Re: unexpected update status behavior when "RT..." text included

2009-12-09 Thread ronenpinko
it's clearly a bug.

the status update method returns (on success) the newly created
status. I rely on this status for the application state.
what our servers get when updating with "RT..." are older unrelated
tweets (days ago) and the statuses never gets published on twitter.

I tried updating a little from the web. what goes on there is totally
voodoo. I get different error messages.
try updating this "RT... hello" you'll probably get a "hello hasn't
published any tweets yet"
I tried random messages like "RT... rth984th34" and it made me retweet
some guy I don't even know.

I don't know if the system treats it like SMS or not. doesn't matter.
it's a bug.
I shouldn't be getting unrelated tweets as a response to a status
update no matter what.
I shouldn't be retweeting people I don't know on sending malformed
status updates.



On Dec 8, 8:34 pm, Raffi Krikorian  wrote:
> i think that's precisely it.  the twitter API follows (mostly) the
> same commands that are available over SMS.  if you send a tweet that
> starts with "RT", then the API will assume you are attempting to do a
> native RT.
>
> On Tue, Dec 8, 2009 at 10:28 AM, Cameron Kaiser  wrote:
> >> I just came across a weird bug.
> >> When updating statuses with the text "RT..." included, unexpected
> >> things happen.
>
> > If it's first position in a line, it's probably being seen as an SMS
> > command (there is an RT SMS command).
>
> > --
> >  
> > personal:http://www.cameronkaiser.com/--
> >  Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com
> > -- Another visitor. Stay awhile. Stay forever! -- Professor Elvin 
> > Atombender --
>
> --
> Raffi Krikorian
> Twitter Platform Teamhttp://twitter.com/raffi


[twitter-dev] Re: Default profile background color returned by API is still #9ae4e8 when it should be #c0deed

2009-12-09 Thread Ivan.Kohut
I noticed the same problem.

Does someone know how to choose which color should be used to see
"correct" page?

Thanks!

On 5 Лис, 16:59, Brooks Bennett  wrote:
> Has anyone else noticed that the defaultprofilebackgroundcolor
> never changed when twitter changed to the fluffy cloud background?
>
> Theprofilebackgroundcoloris still returned as #9ae4e8 when it now
> should be #c0deed.
>
> Apps that use this info for personalization have looked funny for
> sometime if the user never changed from the defaults.


[twitter-dev] How do I know when user posted new tweet

2009-12-09 Thread Quy
I plan to use the API to grab the latest tweets from a user but don't
want to have to ping the user every 10 minutes. What's the best way to
check if there is a new tweet from a user? Should I check the status
id of the last tweet and see if it has changed?


[twitter-dev] Re: 404 Errors on friends and followers using cursors

2009-12-09 Thread Randy
I added this as issue 1264 in the twitter-api issue tracker, which
you'll have to find on your own. It appears they don't trust me enough
to let me post links here yet. :D

On Dec 8, 1:01 pm, Randy  wrote:
> I am seeing the same issue. In my case, the first four iterations work
> (i.e. I retrieve 400 users), but the next call gives me a 404.


[twitter-dev] Given "bad" Consumer Keys/Secret Keys

2009-12-09 Thread Bryan Veloso
I've been wrestling with getting OAuth in my Django application to
work; as I've been receiving the (401, 'Unauthorized', 'Failed to
validate oauth signature and token') error at the "request_token"
stage. My clock is synced, so that was never a problem for me. I
started to analyze the URLs coming out of the OAuth library, but those
always looked fine.

Then I got some help from a friend who in turn let me try his
application. I used my keys with his application and they failed (when
obviously, his application worked). Then I thought to do the reverse.
So I used his keys with my application and the authorization screen
came up as expected.

I have no idea what could be causing this and I've thoroughly stumped
friends of mine as well. The only thing I can think of is that the
keys I'm being given don't work. Note that I've reset them and I have
created new applications, but with no luck.


[twitter-dev] Re: Send to certain user

2009-12-09 Thread park2

Sorry What is the correct group. Do you hvwe the exact syntax to use
please
On Dec 8, 10:14 pm, Raffi Krikorian  wrote:
> this is not a question about the API...  however, try "d test123 test
> alert" or something like that.
>
> On Tue, Dec 8, 2009 at 12:42 PM, park2  wrote:
> > We have an existing security product that when an alert happens we
> > send a text and email. We now need to send to a Twitter account. What
> > is the syntax to send 'test alert' to user 'test123' direct from the
> > web address bar. I am trying to do this within php without installing
> > curl.
>
> --
> Raffi Krikorian
> Twitter Platform Teamhttp://twitter.com/raffi


[twitter-dev] Re: 404 Errors on friends and followers using cursors

2009-12-09 Thread Randy
I added this to the issue tracker: 
http://code.google.com/p/twitter-api/issues/detail?id=1264

On Dec 8, 1:01 pm, Randy  wrote:
> I am seeing the same issue. In my case, the first four iterations work
> (i.e. I retrieve 400 users), but the next call gives me a 404.


[twitter-dev] Re: Statuses Followers and Statuses Friends not returning correct order

2009-12-09 Thread Randy
I am seeing this as well.

This may be related to the 404 issue reported recently too (http://
groups.google.com/group/twitter-development-talk/browse_thread/thread/
ece2aec4fe601bd9)

On Dec 5, 2:19 pm, Colby Palmer  wrote:
> I noticed this today too and then saw this post.  I copied this over
> on the issue 
> tracker:http://code.google.com/p/twitter-api/issues/detail?id=1257


Re: [twitter-dev] Re: How to detect 'Duplicate text' failure to send tweet

2009-12-09 Thread Dave Sherohman
On Tue, Dec 08, 2009 at 10:08:14AM -0800, Stuart Smith wrote:
> Hi Abraham, so I should keep a list of all of the tweets I send and
> check the id of each and every status I send to see if it matches a
> previously sent id? That's quite a lot of additional processing.

Not necessarily...  What I've been doing is just keeping a record of the
highest status ID my application has seen and checking whether the
returned ID is larger than that highest-seen ID or not.  Very quick,
simple, and effective.

> Is this what I have heard called 'recurring tweets'? If so, I read
> somewhere that they are going to be allowed to re-occur at some point
> soon - is this correct?

Related, but distinct.  What you've described is repeated tweets sent
manually for a game, probably in short bursts.  The "recurring tweets"
(mis-)feature offered by some sites is "automatically tweet this text
once every three hours for the next month".

Either way, though, it sounds pretty spammy to me (would your users'
friends really want to see their timelines clogged up with "N", "N",
"E", "S"...?) and I'm all for Twitter doing what they can to suppress
it.  It just would have been nice if rejected updates had been reported
as errors (which they are) from square one.

-- 
Dave Sherohman