Re: [twitter-dev] Grupo Abril (Brazil) - API limits

2011-06-01 Thread Carlos Eduardo
Ola Marcelo, podemos conversar, e quem sabe posso ajudar a chegar em uma
solucao, mas ja posso adiantar para vc que os problemas de limites todos
passamos, qualquer coisa me manda um email e falamos melhor.

carlos@gmail.com

abs
Carlos

On Wed, Jun 1, 2011 at 3:52 PM, Mario Ramos mario.nogue...@gmail.comwrote:

 Hi,

 I work for Grupo Abril in Brazil (http://www.grupoabril.com.br/IN/
 index.shtml), the largest publishing group in Latin America with a
 growing web operation as well. Our flagship magazine, Veja, which is
 like Time magazine in Brazil, is the 4th largest in the world by
 circulation numbers.

 The team I work with would really like to build an app for Twitter but
 we are certain that the API rate limits would prevent it from working
 properly and thus I'd like to know if is there any means by which we
 could work around that.

 I've tried to reach the partnerships folks at Twitter (at
 part...@twitter.com) last week, but haven't heard back from them
 since.

 The app would be placed in our city guide product for the web. It's
 focused on what's trendy or upscale just like the New York Mazagine
 (http://nymag.com/) or Time Out (http://newyork.timeout.com/). It
 would work just for the city of São Paulo at first but we'd expand it
 to other major cities across the country afterwards.

 The city guide is an extension of our flagship magazine (we have Veja
 São Paulo, Veja Rio etc,).

 Basically, it's a flirting app for missed connections that would take
 place in venues listed by our guide. We believe it's a fun way to
 place Twitter at the heart of an important kind of social activity for
 urban trendsetters.

 With our app, users would be able to start conversations via DM
 anonymously before revealing their identities to one another. That's
 why we are very confident that we would exceed the API limits on a
 sustained basis.

 I'd more than happy to discuss the details of the app before we could
 move on with it.

 Thanks a lot.

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


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


[twitter-dev] Re: Search API the public alternative to URL count API?

2011-02-14 Thread Carlos Hugo Gonzalez Castell
are usign oauth api?

in this api your manage the callbacks twitter

On 13 feb, 07:51, Martin Cronjé martincronj...@gmail.com wrote:
 Hi there,

 I am busy writing an aggregator and I am looking at using the Twitter
 API to get URL counts.

 I seems that public developers are not allowed to use the URL
 counting API based on the Tweet Button FAQ. Which leaves me with not
 other option but to use the search API for URL counting. Using the
 search API makes not sense if there a Count API.

 This leaves me with the following questions
 1. Will my application / I.P. get banned if I use the Count API?
 2. Is there a way to request multiple URLs at once to limit round-
 trips?
 3. The URL count API returns not threshold information. So if I am
 allowed to use it, should I manage the thresholds myself

 FAQ -http://dev.twitter.com/pages/tweet_button_faq#count-api
 URL Count API -http://urls.api.twitter.com/1/urls/count.json?url=URL
 Search API -http://search.twitter.com/search.format

 My application aggregates URLs on a central server using a shared
 account so the request numbers may be quite high

 Martin

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


[twitter-dev] how to communicate with followers

2011-02-11 Thread Carlos Eduardo
I need a help, I'm developing an app for a client where it needs to
communicate with his followers individually, each follower will
receive a different
link, the solution would be to have DM, but with a limit of 250 per day this
becomes impossible, try sending mentions twitter but suspends the User, for
thinking and spam, is there any way?

thanks

Eduardo

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


Re: [twitter-dev] Update on Whitelisting

2011-02-10 Thread Carlos Eduardo
Ideally then Twitter limits the maximum number of followers, because what
good the company had many followers and not speak to them, my project for
example needed to talk to each follower individually, not to be in the same
time could divide this into three or four days, but with the limit of
Dm 250 per
day, how to do this with a client who has 10,000 followers?

since we have no more to whitelisting,

tks

Carlos Eduardo

On Thu, Feb 10, 2011 at 7:43 PM, Ryan Sarver rsar...@twitter.com wrote:

 Beginning today, Twitter will no longer grant whitelisting requests.
 We will continue to allow whitelisting privileges for previously
 approved applications; however any unanswered requests recently
 submitted to Twitter will not be granted whitelist access.

 Twitter whitelisting was originally created as a way to allow
 developers to request large amounts of data through the REST API. It
 provided developers with an increase from 150 to 20,000 requests per
 hour, at a time when the API had few bulk request options and the
 Streaming API was not yet available.

 Since then, we've added new, more efficient tools for developers,
 including lookups, ID lists, authentication and the Streaming API.
 Instead of whitelisting, developers can use these tools to create
 applications and integrate with the Twitter platform.

 As always, we are committed to fostering an ecosystem that delivers
 value to Twitter users. Access to Twitter APIs scales as an
 application grows its userbase.  With authentication, an application
 can make 350 GET requests on a user’s behalf every hour. This means
 that for every user of your service, you can request their timelines,
 followers, friends, lists and saved searches up to 350 times per hour.
 Actions such as Tweeting, Favoriting, Retweeting and Following do not
 count towards this 350 limit. Using authentication on every request is
 recommended, so that you are not affected by other developers who
 share an IP address with you.

 We also want to acknowledge that there are going to be some things
 that developers want to do that just aren’t supported by the platform.
 Rather than granting additional privileges to accommodate those
 requests, we encourage developers to focus on what's possible within
 the rich variety of integration options already provided. Developers
 interested in elevated access to the Twitter stream for the purpose of
 research or analytics can contact our partner Gnip for more
 information.

 As always, we are here to answer questions, and help you build
 applications and services that offer value to users.

 Ryan

 --
 Ryan Sarver
 @rsarver

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


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


[twitter-dev] Mentions AND DM

2011-02-09 Thread Carlos Eduardo
Hello, I use the api for a clint in Brazil has 6,000 followers, the client
needs to do promotion for each individual customer, think about sending
mentions, since the dm has a limit of 250 per day, we wanted to create
another User and use to send User mentions that, since the limit of 6000 per
day, but the twitter suspend the User, any have any solution, such as
sending mentions without being suspended? or some other idea


tks

Carlos Eduardo

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


Re: [twitter-dev] Mentions AND DM

2011-02-09 Thread Carlos Eduardo
Taylor Thanks for the reply, he had read in Automation Best Practices guide, is
there a nice way of asking for a permission for that User twitter @
Programa_dotz which now has 6900 users can use only his followers to send
some information different for each serguidor? promotion because there is
different for each region or profile,


sorry for the English now used google to talk to you

tks

Carlos

On Wed, Feb 9, 2011 at 8:57 PM, Taylor Singletary 
taylorsinglet...@twitter.com wrote:

 My first recommendation is to read the Automation Best Practices guide we
 have, if you haven't already. Lots of tips about mass @mentions and mass
 DMing in there:

 http://support.twitter.com/entries/76915-automation-rules-and-best-practices

 If you have any specific questions or guidelines you're wondering about,
 I'm happy to help.

 @episod http://twitter.com/episod - Taylor Singletary - Twitter
 Developer Advocate


 On Wed, Feb 9, 2011 at 2:50 PM, Carlos Eduardo carlos@gmail.comwrote:

 Hello, I use the api for a clint in Brazil has 6,000 followers, the client
 needs to do promotion for each individual customer, think about sending
 mentions, since the dm has a limit of 250 per day, we wanted to create
 another User and use to send User mentions that, since the limit of 6000
 per day, but the twitter suspend the User, any have any solution, such as
 sending mentions without being suspended? or some other idea


 tks

 Carlos Eduardo

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


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


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


[twitter-dev] Unfollow

2010-12-05 Thread Carlos Eduardo
Is there any way to find out where users from Unfollow other User

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


[twitter-dev] Re: retweeted always returing as false in /1/statuses/user_timeline.json

2010-11-16 Thread Carlos M.
Guys, any update in this issue? still getting all the retweeted values
False.

On Oct 18, 10:28 am, Carlos M. carlos.mes...@gmail.com wrote:
 Any update on this issue? I don't see any news in the mailing list :-/
 Cheers,
 Carlos

 On Sep 4, 8:27 pm, Orian Marx (@orian) or...@orianmarx.com wrote:







  At this point there are a number of fields on various objects returned
  by Twitter that should be considered unreliable (mostly on user
  objects). It might be time for Twitter to consider a better solution
  than just returning unreliable data, such as either stripping out the
  fields, giving them an attribute such as fieldstatus=deprecated or
  fieldstatus=disabled. These expected behaviors are only expected by
  the engineers on Twitter's end and I've seen lots of posts on the
  mailinglist where people have had to question why they were getting
  unreliable data.

  On Sep 3, 12:25 pm, Matt Harris thematthar...@twitter.com wrote:

   Hi Michael,

   Soon after launching those fields we identified some problems with
   them so had to disable them. That means the behavior you are seeing is
   expected right now. When the fields are enabled again we'll announce
   it to this mailing list.

   Best,
   Matt

   On Thu, Sep 2, 2010 at 9:04 PM, Michael Babker mbab...@flbab.com wrote:
Hi there,

I have a Twitter module I'm improving upon which pulls tweets from
/1/statuses/user_timeline.json.  An issue that I've noticed is that 
over the
last couple of days, tweets I'veretweetedusing the retweet link on
twitter.com have continued to display as retweeted: false in the JSON.

Can someone tell me if this is normal behavior or if it's an issue with 
the
API?

Thanks!

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

   --

   Matt Harris
   Developer Advocate, Twitterhttp://twitter.com/themattharris

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


[twitter-dev] Re: retweeted always returing as false in /1/statuses/user_timeline.json

2010-10-18 Thread Carlos M.
Any update on this issue? I don't see any news in the mailing list :-/
Cheers,
Carlos

On Sep 4, 8:27 pm, Orian Marx (@orian) or...@orianmarx.com wrote:
 At this point there are a number of fields on various objects returned
 by Twitter that should be considered unreliable (mostly on user
 objects). It might be time for Twitter to consider a better solution
 than just returning unreliable data, such as either stripping out the
 fields, giving them an attribute such as fieldstatus=deprecated or
 fieldstatus=disabled. These expected behaviors are only expected by
 the engineers on Twitter's end and I've seen lots of posts on the
 mailinglist where people have had to question why they were getting
 unreliable data.

 On Sep 3, 12:25 pm, Matt Harris thematthar...@twitter.com wrote:







  Hi Michael,

  Soon after launching those fields we identified some problems with
  them so had to disable them. That means the behavior you are seeing is
  expected right now. When the fields are enabled again we'll announce
  it to this mailing list.

  Best,
  Matt

  On Thu, Sep 2, 2010 at 9:04 PM, Michael Babker mbab...@flbab.com wrote:
   Hi there,

   I have a Twitter module I'm improving upon which pulls tweets from
   /1/statuses/user_timeline.json.  An issue that I've noticed is that over 
   the
   last couple of days, tweets I'veretweetedusing the retweet link on
   twitter.com have continued to display as retweeted: false in the JSON.

   Can someone tell me if this is normal behavior or if it's an issue with 
   the
   API?

   Thanks!

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

  --

  Matt Harris
  Developer Advocate, Twitterhttp://twitter.com/themattharris

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


[twitter-dev] Total Number of Retweets

2010-10-17 Thread carlos
Hey,

Im lookin for a simple way to get total number of retweets of a given
retweet. For example I wrote tweet with id 49, and text: The best
tweet! Please Retweet, so I want to get total number of retweets of
tweet id=49, containing text RT: @mynick The best tweet! Please
Retweet.

I'm new in Twitter API, and I searched in this group for an answer,
but I didnt find it. Please help! Thanks

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


[twitter-dev] Re: What do the attributes represent in a geo place lookup for a city

2010-08-06 Thread Carlos
Was the mentioned document completed?

On Jul 13, 10:13 pm, Ryan W rwilli...@gmail.com wrote:
 Thanks Matt, I'll look forward to the doc updates.

 On Jul 12, 11:05 pm, Matt Harris thematthar...@twitter.com wrote:







  Great questions. I'll be publishing a document to dev.twitter.com about this
  in the next couple of days but to answer you question theattributesyou
  refer to are specific to a registered OAuth application. I'll explain more
  about theseattributesand where they come from in the dev.twitter document.

  I'll let you know when the document is published.

  Matt

  On Mon, Jul 12, 2010 at 6:07 PM, Ryan W rwilli...@gmail.com wrote:
   For example:

  Placelookup for Portland, OR:
  http://api.twitter.com/1/geo/id/ac88a4f17a51c7fc.json

   Returns as part of the result:

   attributes:{162772:pop100:529121,162772:place_id:4159000}

   What does the 162772 signify?  I believe the 162772:pop100
   represents population from 2000 census (I'm saying 2000 based on spot
   checking a couple of cities).  But, will this 162772 change?

   What does the place_id represent?  It's not a woeid, and it's
   different than the twitter place_id (or is it?  maybe the place_id in
   the URL is a hash of this?)

   Thanks!

  --

  Matt Harris
  Developer Advocate, Twitterhttp://twitter.com/themattharris


[twitter-dev] Re: Not able to connect to twitter API from Google Appengine

2010-07-26 Thread Aurélio Carlos

My application www.ctwittlike.net (http://ctwittlike.appspot.com)
continues without access to Twitter's API.

Thank you.

Aurélio Carlos
lelinhopr...@gmail.com


On Jul 23, 4:26 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi Everyone,

 Here are the details on the issues with Google App Engine.

 Twitter blocked a portion of the GAE network because an unknown user
 set up a large proxy farm, forwarding large amounts of traffic to
 twitter.com. This was probably an attempt to avoid our rate limits,
 which is against the Twitter terms of service, among other privacy and
 security issues.

 We recognize that those in shared hosting environments like Google App
 Engine are often held hostage by the actions of their peers and will
 continue to investigate ways that we can deal with issues like this
 without necessarily cutting off all traffic from a shared hosting
 services, but those operating under such circumstances should be aware
 that this kind of blacklisting will occur from time to time.

 If you continue to experience issues with your Google App Engine
 application, please reply to this thread with a link to your
 application, and, if possible, the IP address from which your remote
 requests are originating.

 Thanks,
 Taylor

 On Fri, Jul 23, 2010 at 12:08 PM, nischalshettynischalshett...@gmail.com 
 wrote:
  @John

  It's hosted on the Google Appengine. I guess you guys are already on
  it to fix the issue.

  -Nischal

  On Jul 23, 11:55 pm, John Adams j...@twitter.com wrote:
  Please post or forward your app's IP range so we can investigate. Thanks.
  -j

  On Fri, Jul 23, 2010 at 11:50 AM, nischalshetty
  nischalshett...@gmail.comwrote:

   Alrite, I can see intermittent errors. So all's not well yet...

   -Nischal

   On Jul 23, 11:35 pm, nischalshetty nischalshett...@gmail.com wrote:
Oh my GOD! I can see it working! Yippe

Thank you so much. A post or update on what caused the issue would be
welcome!

-Nischal

On Jul 23, 9:51 pm, Greg Jones psycle@gmail.com wrote:

 Hi Taylor,

 It doesn't connect to either http or https. Happy to help testing
 anything else...app's not live yet, but was a bit of a scare this
 morning!

 cheers,

 Greg

 On Jul 23, 5:32 pm, nischalshetty nischalshett...@gmail.com wrote:

  @Taylor

  The problem is even with the simple search request. So basically 
  its
  for all API calls to twitter.

  -Nischal

  On Jul 23, 8:56 pm, Taylor Singletary 
  taylorsinglet...@twitter.com
  wrote:

   Hey all,

   We're still looking into this. To help us eliminate some 
   possibile
   issues, can someone who's working behind the Google App Engine IP
   addresses attempt to connect to bothhttp://
   api.twitter.com/oauth/request_tokenandhttps://api.twitter.com/...knowif
   you're
   seeing a difference between the two? (I'm trying to rule out that
   the
   SSL wildcard certificate is to blame or not).

   Thanks,
   Taylor

   On Fri, Jul 23, 2010 at 7:45 AM, nischalshetty

   nischalshett...@gmail.com wrote:
@Taylor

Ah! You're my hero! I've been frantically trying to get in 
touch
   with
anyone and everyone over twitter and google app engine. The App
   engine
folks are yet to read the long thread I've started in their
   forum.

I hope if the issue is on your end you find a fix soon. It's 
been
   well
over 15-20 hours since my app has been unusable, it hurts!

-Nischal

On Jul 23, 7:06 pm, Taylor Singletary 
   taylorsinglet...@twitter.com
wrote:
Hi folks on Google App Engine experiencing difficulties,

We're looking into it!

Taylor

On Fri, Jul 23, 2010 at 3:13 AM, Livid v2ex.li...@me.com
   wrote:
 I'm getting the same error for my community (with a built-in
   Twitter
 OAuth client) running on GAE:http://v2ex.appspot.com

 Traceback (most recent call last):
  File
   /base/python_runtime/python_lib/versions/1/google/appengine/
 ext/webapp/__init__.py, line 511, in __call__
    handler.get(*groups)
  File /base/data/home/apps/v2ex/1.343564127440067233/t.py,
   line
 157, in get
    statuses = twitter.GetHomeTimeline(count = 100)
  File 
 /base/data/home/apps/v2ex/1.343564127440067233/twitter/
 twitter.py, line 1451, in GetHomeTimeline
    json = self._FetchUrl(url, parameters=parameters)
  File 
 /base/data/home/apps/v2ex/1.343564127440067233/twitter/
 oauthtwitter.py, line 101, in _FetchUrl
    url_data = opener.open(url).read()
  File
   /base/python_runtime/python_dist/lib/python2.5/urllib2.py,
 line 381, in open
    response = self._open(req, data)
  File
   /base/python_runtime/python_dist/lib/python2.5/urllib2.py,
 line 399

[twitter-dev] Re: Incorrect signature with oAuth

2010-07-17 Thread Carlos
Are you doing this in PseudoCode?

base = methodURLEncode(endpoint)URLEncode(URLParameterString)
where URLParameterString =
URLEncode(name)=URLEncode(value)URLEncode(name)=URLEncode(value)...


On Jul 17, 11:01 am, CeBeans inven...@cebeans.com wrote:
 Im developing a DLL in eVC++3.0 (native C++) that uses the Twitter
 oAuth to update a status and have searched the web and support
 websites for over a week but still cant figure the signature problem
 out.

 
 NOTE: I have deleted the app in this example so Its safe to give out
 the correct codes.  This way I can get a better response from support.
 

 The DLL is a simple call to update a users status: status=h (to get
 this thing started)

 My DELETED App Info:
 ConsumerKey,x80ZNISjmQ0Lxufp0QVM6w
 ConsumerSecret,AHumtKUplfkqJVVy0VtbjoMROMU1SoVbCI8aIubu2Nc
 Token,63573892-Y5GT47cl6ixaRKTaK5TpDg9N9D6g5Wqy718pIydjK
 TokenSecret,6lRq2U4UoO3pv1Z0odU4lxhXvc3zlwJdOuyViQx44

 Signature Base:
 POSThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
 %2Fupdate.xmloauth_consumer_key%3Dx80ZNISjmQ0Lxufp0QVM6w%26oauth_nonce
 %3D4064976171056201%26oauth_signature_method%3DHMAC-
 SHA1%26oauth_timestamp%3D1279378609%26oauth_token%3D63573892-
 Y5GT47cl6ixaRKTaK5TpDg9N9D6g5Wqy718pIydjK%26oauth_version
 %3D1.0%26status%3Dh

 Signature Key to Sign with:
 AHumtKUplfkqJVVy0VtbjoMROMU1SoVbCI8aIubu2Nc6lRq2U4UoO3pv1Z0odU4lxhXvc3zlwJdOuyViQx44

 http Header:
 =
 Authorization: OAuth oauth_nonce=4064976171056201,
 oauth_signature_method=HMAC-SHA1, oauth_timestamp=1279378609,
 oauth_consumer_key=x80ZNISjmQ0Lxufp0QVM6w, oauth_token=63573892-
 Y5GT47cl6ixaRKTaK5TpDg9N9D6g5Wqy718pIydjK,
 oauth_signature=ZztcjuTr1oxmVpQPAltfxiUEwEw%3D, oauth_version=1.0
 Content-Type: application/x-www-form-urlencoded
 Host: api.twitter.com
 Content-Length: 10
 Connection: Keep-Alive

 Http Footer
 =
 status%3Dh

 Server Response
 ==
 ?xml version=1.0 encoding=UTF-8?
 hash
   request/1/statuses/update.xml/request
   errorIncorrect signature/error
 /hash

 I also tried the HTTPS in the signature base, and still the same
 error.  NOTE: The DLL callshttp://api.twitter.com/1/statuses/update.xml

 Vincent Collura
 CeBeans


[twitter-dev] api.twitter.com SSL cert expiring on 7-27-2010?

2010-07-16 Thread Carlos
After getting SSL errors on Windows Mobile 6.0 with connections to
api.twitter.com due to that OS not having that cert installed, I
started up firefox and connected to https://api.twitter.com and
noticed this see screenshot

http://twitpic.com/25ultr/full

It's listed as expiring on 7/27/2010. I'm sure that twitter is aware
of this and planning a cert change but since it's less than 2 weeks
away I thought I'd bring it up just in case.

Also, will the new cert be trusted by default on most current mobile
OSes?

-Carlos


[twitter-dev] Re: api.twitter.com SSL cert expiring on 7-27-2010?

2010-07-16 Thread Carlos
Being in IT for over 10 years, nothing is scarier to me than this
change shouldn't cause any problems. ;)

Is this a scheduled change? If so, when?
It would be nice if twitter kept a calendar updated for such things
with a link off of status.twitter.com. (Even if no outage is
expected.)

On Jul 16, 2:33 pm, John Adams j...@twitter.com wrote:
 We have renewed the existing wildcard certificate and will be deploying it
 soon to api.twitter.com and oauth.twitter.com.

 It's from the same vendor, so there should be no issues.

 -j







 On Fri, Jul 16, 2010 at 11:26 AM, Carlos carlosju...@gmail.com wrote:
  After getting SSL errors on Windows Mobile 6.0 with connections to
  api.twitter.com due to that OS not having that cert installed, I
  started up firefox and connected tohttps://api.twitter.comand
  noticed this see screenshot

 http://twitpic.com/25ultr/full

  It's listed as expiring on 7/27/2010. I'm sure that twitter is aware
  of this and planning a cert change but since it's less than 2 weeks
  away I thought I'd bring it up just in case.

  Also, will the new cert be trusted by default on most current mobile
  OSes?

  -Carlos


[twitter-dev] Re: Failed to validate oauth signature and token using ColdFusion8

2010-07-06 Thread Carlos Villarreal Mora
Thanks Raffi,

I'll check that library out. I didn't know there were libraries I
could use.

On Jul 6, 7:23 am, Raffi Krikorian ra...@twitter.com wrote:
 hi carlos.

 i'm sorry that i'm not sure i can help to debug this code right now.  if you
 are going to insist on creating your own functions to do the oauth
 signature, please 
 consulthttp://hueniverse.com/2008/10/beginners-guide-to-oauth-part-iv-signin...
 its a great interactive walk through.  however, i would
 *strongly* recommend using a library if possible.  a simple google search
 turned uphttp://oauth.riaforge.org/.

 On Mon, Jul 5, 2010 at 10:42 AM, Carlos Villarreal Mora 
 cvm...@gmail.comwrote:



  Hello I've been trying to solve this since Friday to no avail. I've
  searched and used tips from a bunch of other discussions here but I
  still haven't gotten it right.

  I'm using ColdFusion 8 to generate my OAuth signature. These are the
  tweaks I've done from tips in this discussion list:
  1) For the timestamp I convert to UTC time with this function:
         var nowUTC = dateConvert('local2UTC', now());
         var epochStart = CreateDateTime('1970','1','1','00','00','00');
         var timestamp = dateDiff(s, epochStart, nowUTC);

         This results in these values:
         nowUTC = {ts '2010-07-05 17:22:30'}
         epochStart = {ts '1970-01-01 00:00:00'}
         timestamp = 1278346950

  2) For the Nonce I use ColdFusion's createUUID function and then,
  based on this (http://www.cflib.org/udf/CreateGUID) from CFLib.org I
  convert that UUID into a GUID like so:
         var uuid = createUUID();
         //Convert the UUID to a GUID by inserting a dash in the 23rd
  position
         var nonce = insert(-, uuid, 23);

         This is an example of a resulting nonce:
         A3A1648E-F1F0-4032-75F4-712F676BE7E6

  3) The most difficult part, and where I'm sure the error is, is the
  SHA1 hashing, ColdFusion sucks at it so I'm using Java in the
  function:
         cffunction name=javaHMAC returntype=string access=public
  output=false
                 cfargument name=signKey       type=string
  required=true /
                 cfargument name=signMessage type=string required=true
  /
                 cfscript
                         var jMsg =
  javaCast(string,arguments.signMessage).getBytes(UTF8);
                         var jKey =
  javaCast(string,arguments.signKey).getBytes(UTF8);
                         var key  =
  createObject(java,javax.crypto.spec.SecretKeySpec);
                         var mac  = createObject(java,javax.crypto.Mac);
                         var ret  = ;

                         key = key.init(jKey,HmacSHA1);
                         mac = mac.getInstance(key.getAlgorithm());
                         mac.init(key);
                         mac.update(jMsg);

                         ret = lCase(binaryEncode(mac.doFinal(), 'Hex'));

                         return(ret);
                 /cfscript
         /cffunction

  When I sign the base using my Consumer Secret appended by a  using
  this function the result is something like this:
  01eb730a110b1e09ccc9bbff9dbca73c5047f4d4

  Here's the Signature Base and the Header I create (my consumer key is
  masked for security reasons):
  - Signature Base:
  POSThttps%3A%2F%2Fapi%2Etwitter%2Ecom%2Foauth%2Frequest
  %5Ftokenoauth_callback%3Dhttp%3A%2F%2Fcommunitydev%2Epaperthin%2Ecom
  %2FTwitter%2FoAuth%2Ecfm%26oauth_consumer_key%3D
  %26oauth_nonce%3DA394B8B8-
  F1F0-4032-72C8-701CEC482A20%26oauth_signature_method%3DHMAC-
  SHA1%26oauth_timestamp%3D1278328119

  - OAuht Authorization Header:
  OAuth oauth_nonce=A394B8B8-F1F0-4032-72C8-701CEC482A20,
  oauth_callback=http%3A%2F%2Fcommunitydev%2Epaperthin%2Ecom%2FTwitter
  %2FoAuth%2Ecfm, oauth_signature_method=HMAC-SHA1,
  oauth_timestamp=1278328119, oauth_consumer_key=xxx,
  oauth_signature=4799dd5a6891474d603a3546c14e9b41ea47088d,
  oauth_version=1.0

  There are no line breaks in either of them btw. Can anybody help me
  with this? Try as I might I haven't been able to get beyond the
  Failed to validate oauth signature and token response.

  Thank you.

 --
 Raffi Krikorian
 Twitter Platform Teamhttp://twitter.com/raffi


[twitter-dev] Failed to validate oauth signature and token using ColdFusion8

2010-07-05 Thread Carlos Villarreal Mora
Hello I've been trying to solve this since Friday to no avail. I've
searched and used tips from a bunch of other discussions here but I
still haven't gotten it right.

I'm using ColdFusion 8 to generate my OAuth signature. These are the
tweaks I've done from tips in this discussion list:
1) For the timestamp I convert to UTC time with this function:
var nowUTC = dateConvert('local2UTC', now());
var epochStart = CreateDateTime('1970','1','1','00','00','00');
var timestamp = dateDiff(s, epochStart, nowUTC);

This results in these values:
nowUTC = {ts '2010-07-05 17:22:30'}
epochStart = {ts '1970-01-01 00:00:00'}
timestamp = 1278346950

2) For the Nonce I use ColdFusion's createUUID function and then,
based on this (http://www.cflib.org/udf/CreateGUID) from CFLib.org I
convert that UUID into a GUID like so:
var uuid = createUUID();
//Convert the UUID to a GUID by inserting a dash in the 23rd position
var nonce = insert(-, uuid, 23);

This is an example of a resulting nonce:
A3A1648E-F1F0-4032-75F4-712F676BE7E6

3) The most difficult part, and where I'm sure the error is, is the
SHA1 hashing, ColdFusion sucks at it so I'm using Java in the
function:
cffunction name=javaHMAC returntype=string access=public
output=false
cfargument name=signKey   type=string required=true 
/
cfargument name=signMessage type=string required=true /
cfscript
var jMsg =
javaCast(string,arguments.signMessage).getBytes(UTF8);
var jKey = 
javaCast(string,arguments.signKey).getBytes(UTF8);
var key  = 
createObject(java,javax.crypto.spec.SecretKeySpec);
var mac  = createObject(java,javax.crypto.Mac);
var ret  = ;

key = key.init(jKey,HmacSHA1);
mac = mac.getInstance(key.getAlgorithm());
mac.init(key);
mac.update(jMsg);

ret = lCase(binaryEncode(mac.doFinal(), 'Hex'));

return(ret);
/cfscript
/cffunction

When I sign the base using my Consumer Secret appended by a  using
this function the result is something like this:
01eb730a110b1e09ccc9bbff9dbca73c5047f4d4

Here's the Signature Base and the Header I create (my consumer key is
masked for security reasons):
- Signature Base:
POSThttps%3A%2F%2Fapi%2Etwitter%2Ecom%2Foauth%2Frequest
%5Ftokenoauth_callback%3Dhttp%3A%2F%2Fcommunitydev%2Epaperthin%2Ecom
%2FTwitter%2FoAuth%2Ecfm%26oauth_consumer_key%3D
%26oauth_nonce%3DA394B8B8-
F1F0-4032-72C8-701CEC482A20%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1278328119

- OAuht Authorization Header:
OAuth oauth_nonce=A394B8B8-F1F0-4032-72C8-701CEC482A20,
oauth_callback=http%3A%2F%2Fcommunitydev%2Epaperthin%2Ecom%2FTwitter
%2FoAuth%2Ecfm, oauth_signature_method=HMAC-SHA1,
oauth_timestamp=1278328119, oauth_consumer_key=xxx,
oauth_signature=4799dd5a6891474d603a3546c14e9b41ea47088d,
oauth_version=1.0

There are no line breaks in either of them btw. Can anybody help me
with this? Try as I might I haven't been able to get beyond the
Failed to validate oauth signature and token response.

Thank you.


[twitter-dev] Partner

2010-05-24 Thread Carlos A. Alamillo
Dears sirs,

I am the representative of a Spanish company based in Madrid.

We are really interested in developing a channel with our customers
via Twitter. Nevertheless, we need the support of a developer and a
public relations company on Twitter.

We would like you let us know a Twitter official partner in Madrid. If
not, as close as possible. In the case you do not have any, we would
appreciate that you recommend a Twitter developer in Madrid or in
Spain (or wherever).

Looking forward to hearing from you.

Thanks in advance.
Best regards.


[twitter-dev] Re: Deprecating /statuses/public_timeline resource on 4/5/10

2010-03-04 Thread Carlos
What is the replacement for this endpoint for mobile applications?

On Mar 3, 9:45 pm, Ryan Sarver rsar...@twitter.com wrote:
 This is an announcement that we will be deprecating the *
 /statuses/public_timeline* resource as of April 5th (4/5/10). Please let us
 know if there are any major concerns.

 Thanks, Ryan


[twitter-dev] Re: Deprecating /statuses/public_timeline resource on 4/5/10

2010-03-03 Thread Carlos
why?

On Mar 3, 9:45 pm, Ryan Sarver rsar...@twitter.com wrote:
 This is an announcement that we will be deprecating the *
 /statuses/public_timeline* resource as of April 5th (4/5/10). Please let us
 know if there are any major concerns.

 Thanks, Ryan


[twitter-dev] Re: Mobile OAuth fix is LIVE

2010-02-04 Thread Carlos
Buttons not clickable on Windows Mobile; tried on both a 6.1  6.5
device.

On Feb 3, 6:16 pm, Ryan Sarver rsar...@twitter.com wrote:
 FINALLY!

 An update has just gone live that fixes rendering of the OAuth screens for
 most mobile devices. We also fixed a few small nagging things like the
 default action is now allow instead of deny if you just hit go on an
 iPhone. I've attached two screenshots so you can see the updated screens.

 Please test it out with your various mobile web apps and let us know if you
 run into any problems or edge cases.

 Ryan

  IMG_0739.png
 93KViewDownload

  IMG_0738.png
 75KViewDownload


[twitter-dev] Twitter + PHP + Oauth

2009-12-01 Thread Carlos Bacelar
Hi,

Someone knows how can I update status on twitter using this library:

https://docs.google.com/View?docID=dcf2dzzs_2339fzbfsf4

And, please, could send me, or show me, a functional example?

Thanks.


[twitter-dev] Re: Chage from on tweets

2009-10-05 Thread Carlos

To be fair to the newer Twitter apps shouldn't all API posts not using
OAUTH show up as from API ?

On Oct 5, 12:11 am, ryan alford ryanalford...@gmail.com wrote:
 Twitter removed that functionality just recently. Any application that
 used if before it was removed is still allowed to use it.

 On Oct 5, 2009, at 12:07 AM, Vincent Nguyen kureik...@gmail.com wrote:

  We knew is to change from on tweets, we must use Oauth!
  But i see desktop client such as tweetdeck, twitterfox,...
  don't use Oauth and they still have from twitterfox,..
  how does that happens?


[twitter-dev] Re: 401 Unauthorized error while posting status with Unicode characters (non english characters)

2009-09-24 Thread Carlos

Are you sure you are encoding your posts as UTF-8?

On Sep 24, 5:16 pm, Satheesh Natesan satheesh.nate...@gmail.com
wrote:
 I am getting 401 Unauthorized exception when updating status with
 non english characters using my app.

 This exception is happening for any Japanese or Korean characters.

 Another interesting thing is that it is possible to post some other
 non english characters like Malayalam. The exception will not happen
 for single word in these cases, but occurs for multiple words.
 For example consider the following example

 ØáÇÞµæù çµdw - does not work

 ØáÇÞµæùçµdw - with space removed works.

 Base signature for ØáÇÞµæù çµdw which throws exception is

 POSThttp%3A%2F%2Ftwitter.com%2Fstatuses
 %2Fupdate.jsonoauth_consumer_key%
 3DwmeO7Y20oMFa1ptKVY4WA%26oauth_nonce
 %3D4504682%26oauth_signature_method%
 3DHMAC-SHA1%26oauth_timestamp%3D1253727596%26oauth_token%3D76084396-
 0M9ll2nghrjWhjALbH7YEHXizcLDNvoLfgXKfHQZQ%26oauth_version
 %3D1.0%26status%
 3D%25D8%25E1%25C7%25DE%25B5%25E6%25F9%2520%25E7%25B5dw

 and for ØáÇÞµæùçµdw which works is

 POSThttp%3A%2F%2Ftwitter.com%2Fstatuses
 %2Fupdate.jsonoauth_consumer_key%
 3DwmeO7Y20oMFa1ptKVY4WA%26oauth_nonce
 %3D9388868%26oauth_signature_method%
 3DHMAC-SHA1%26oauth_timestamp%3D1253727793%26oauth_token%3D76084396-
 0M9ll2nghrjWhjALbH7YEHXizcLDNvoLfgXKfHQZQ%26oauth_version
 %3D1.0%26status%
 3D%25D8%25E1%25C7%25DE%25B5%25E6%25F9%25E7%25B5dw

 OAuth client library I am using is in .Net

 Could you please help to solve this issue? Also I would like to know
 you support all unicode characters.
 Your help is greatly appreciated.

 Thanks,
 Satheesh Natesan


[twitter-dev] Re: Requests from AppEngine still failing.

2009-08-07 Thread Aurélio Carlos

I submitted a ticket, here:

http://code.google.com/p/twitter-api/issues/detail?id=914

Waiting for a API Team answer.


[twitter-dev] search API - why not XML output...

2009-07-06 Thread Carlos

Hi, bu looking at the search API docs I see the output format is JSON
and Atom, why not X-ML?  Forgive me I haven´t tried myself to request
xml to see what I get, but hopefully the docs are obsoletea and XML is
supported best regards, Carlos


[twitter-dev] Spam marking system

2009-06-30 Thread Carlos

I've entered Issue 770 Spam marking system as a feature request.
http://code.google.com/p/twitter-api/issues/detail?id=770

I'd be interested in what everybody's thoughts on this are.


[twitter-dev] Re: Twitpocalypse II: this time it's unsigned

2009-06-13 Thread Carlos

am I the only one that left the statud id as a string in my code? I
didn't feel the need to convert it.

On Jun 13, 1:10 pm, Jef Poskanzer jef.poskan...@gmail.com wrote:
 So how long until status ids reach 4294967296, breaking the apps that
 were fixed today by changing signed to unsigned?  Taking twitter's
 growth rate into account I think it's less than a year away.
 ---
 Jef


[twitter-dev] Re: Find out how many direct messages a user has remaining

2009-06-02 Thread Carlos

I was thinking something similar but I think it would probably have to
work something like:

http://twitter.com/statuses/friends_timeline_number.format and a
since_id parameter (this would give you the number of messages since
message with that id)
number_of_statuses#/number_of_statuses

Or for direct messages:
http://twitter.com/direct_message_number.format + since_id
number_of_direct-messages#/number_of_direct-messages

etc...

These would be useful for letting a user know how many unread messages
they have, or for an app just starting up to get an idea of how much
data they'll need to download  have aprox. enough info to create a
progress bar.


On May 30, 4:09 am, jmathai jmat...@gmail.com wrote:
 Has there been any consideration to exposing the # of direct messages
 remaining for a user via an authenticated call?


[twitter-dev] Re: Enable ability to block apps via Twitter or the API

2009-06-02 Thread Carlos

agreed, I'd like this as well.

On May 31, 6:52 pm, Jesse Stay jesses...@gmail.com wrote:
 Not going to name names, but there are a few really noisy apps out there
 right now.  It would be really nice if, via either the API (my preference as
 it would be less work on your part and fits well with my app), or the UI,
 you enabled users to block receiving Tweets generated from specific apps.
  This would then punish the app developers for creating spammy apps and not
 the users themselves for just using what was put out there, making it much
 less of a mess to control.  Facebook does this, as does FriendFeed.  Any
 chance you could enable this (please???) for Twitter?

 Thanks,

 @Jesse


[twitter-dev] Re: API Changes for May 11, 2009

2009-05-11 Thread Carlos

Any particular reason the blocks/exist function returns the
information for the user requested if the block exist and a hash error
response if not? I would think following the same kind of format as
the friendship exist function would make more sense; something like:
blockingtrue/falseblocking

An error response should only be returned if the user name doesn't
exist. Just my 2 cents.

On May 11, 8:58 pm, Doug Williams d...@twitter.com wrote:
 Hi All,

 Blocking now gets more fun:

    - Feature (REST): Added methods to retrieve blocking information

 See also: Google Code Issue 
 9:http://code.google.com/p/twitter-api/issues/detail?id=9
 See also: blocks/exists 
 =http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-blocks-exists
 See also: blocks/blocking 
 =http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-blocks-blocking
 See also: blocks/blocking/ids 
 =http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-blocks-blocking...

 We are going to be moving some things around:

    - Deprecation Announced (REST): following and notification elements
    will be moved to their own method in the near future.

 See 
 announcement:http://groups.google.com/group/twitter-development-talk/browse_thread...

 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Supporthttp://twitter.com/dougw


[twitter-dev] Re: What does following in user information do?

2009-04-25 Thread Carlos

Can't star it, do I need some kind of access to do so?

On Apr 23, 11:19 pm, Doug Williams d...@twitter.com wrote:
 Please star Issue 419 [1]  so you will be notified when the fix is shipped.

 1.http://code.google.com/p/twitter-api/issues/detail?id=419

 Doug Williams
 Twitter API Supporthttp://twitter.com/dougw

 On Thu, Apr 23, 2009 at 8:11 PM, Carlos carlosju...@gmail.com wrote:

  Still not working from the results I'm seeing. Has this issue been re-
  opened?

  On Apr 19, 9:07 pm, Dossy Shiobara do...@panoptic.com wrote:
   On 4/19/09 11:34 AM, Arnaud wrote:

And thank you for the update.
Unfortunately, it still doesn't seem to be fixed.
I still receive a lot of incorrect followingvalues(INT and NULL
instead of BOOL) using the statuses/followers method.

   +1 ... users/show method returning empty following/ node instead of
   boolean true/false.

   Can Matt re-open issue #157, or should we create a new issue to track
  this?

   --
   Dossy Shiobara              | do...@panoptic.com |http://dossy.org/
   Panoptic Computer Network   |http://panoptic.com/
      He realized the fastest way to change is to laugh at your own
        folly -- then you can let go and quickly move on. (p. 70)


[twitter-dev] Re: What does following in user information do?

2009-04-23 Thread Carlos

Still not working from the results I'm seeing. Has this issue been re-
opened?

On Apr 19, 9:07 pm, Dossy Shiobara do...@panoptic.com wrote:
 On 4/19/09 11:34 AM, Arnaud wrote:

  And thank you for the update.
  Unfortunately, it still doesn't seem to be fixed.
  I still receive a lot of incorrect followingvalues(INT and NULL
  instead of BOOL) using the statuses/followers method.

 +1 ... users/show method returning empty following/ node instead of
 boolean true/false.

 Can Matt re-open issue #157, or should we create a new issue to track this?

 --
 Dossy Shiobara              | do...@panoptic.com |http://dossy.org/
 Panoptic Computer Network   |http://panoptic.com/
    He realized the fastest way to change is to laugh at your own
      folly -- then you can let go and quickly move on. (p. 70)


[twitter-dev] Re: Trending Service for a given set of users

2009-04-14 Thread Carlos Crosetti
Please can you explain the trending output you are looking for?

On Tue, Apr 14, 2009 at 2:45 PM, kalisurfer sean@gmail.com wrote:


 Hi All,

 Looking for a service where provided a list of users (100+) i can get
 back the trending URL, topics, hash and RT.  Love to be able to access
 the info via a REST API.

 Trying to not build it out myself.

 Thanks,
 Sean
 @kalisurfer




-- 
Carlos Crosetti


[twitter-dev] Re: sending DM to all followers?

2009-04-14 Thread Carlos Crosetti
Your timeline update is doing that already, what is the scenario you are
thinking of?

On Tue, Apr 14, 2009 at 8:24 PM, Alex aybarb...@gmail.com wrote:


 I'm wondering if there is a way - or if you would consider adding a
 way - to send a DM to all followers via the API?

 Obviously we could grab the followers list and iterate over it to send
 the DM to all, though that could require thousands of API calls
 depending on the user. (And could therefore take hours to do with the
 100 API query/hour limit.)




-- 
Carlos Crosetti


[twitter-dev] Re: Trending Service for a given set of users

2009-04-14 Thread Carlos Crosetti
colo application, thanks!

On Tue, Apr 14, 2009 at 6:33 PM, Sean Scott sean@gmail.com wrote:

 I'm currently building an AIR twitter client (yes i know yet another one)
 and part of the goal is to help users see what is popular (trending) within
 their own community.  The most popular URLS and topics information exists
 for twitter at large, but sometimes what happens in your own group of
 cohorts is more interesting and usefull than knowing that 15 million people
 are really digging American Idol right now.
 So looking for most popular URL RT, most popular topic for a given set of
 users.  Bonus if the service can also return the same information for the
 followers of the user set.

 Hope that helps


 On Tue, Apr 14, 2009 at 4:21 PM, Carlos Crosetti 
 carlos.crose...@gmail.com wrote:

 Please can you explain the trending output you are looking for?


 On Tue, Apr 14, 2009 at 2:45 PM, kalisurfer sean@gmail.com wrote:


 Hi All,

 Looking for a service where provided a list of users (100+) i can get
 back the trending URL, topics, hash and RT.  Love to be able to access
 the info via a REST API.

 Trying to not build it out myself.

 Thanks,
 Sean
 @kalisurfer




 --
 Carlos Crosetti




 --
 Sean Scott
 cell: 612.867.8133
 portfolio:
 http://www.flickr.com/photos/92876...@n00/sets/72157613990263453/
 profile: http://www.linkedin.com/profile?viewProfile=key=2242610
 blog: http://www.twofortyeight.com/
 other: http://twitter.com/kalisurfer




-- 
Carlos Crosetti


[twitter-dev] Re: Out of sequence statuses

2009-04-11 Thread Carlos Crosetti
I am isterested in hearing - at this tme I ab sorting using the ID waht
to hear more... @ccrosetti

On Sat, Apr 11, 2009 at 8:42 PM, pcuenca - LateNiteSoft
pcue...@gmail.comwrote:


 Hello,

 We are in the process of developing a new native Mac twitter client,
 and I am having some difficulty in dealing with out-of-sequence
 statuses, i.e., statuses that should have appeared in a call to
 friends_timeline but make it to the stream later for some reason.

 So far I had successfully been using a combination of since_id and
 since requests to collect recent out-of-order posts that were
 missing in a previous request. I understand there were reasons to drop
 since requests and I'm sorry not to have voiced my concerns before;
 however, I'm not sure what's the best way to proceed with the current
 API in order to minimize the chance of missing posts. At the same
 time, I'm trying to minimize rate-limited API requests and honor
 recommended practices - being easy with the servers and all.

 As far as I understand it, out-of-order statuses are lost forever when
 using since_id to keep track of the last status returned by the
 server. Using since_id and then sweeping with unfiltered requests is
 expensive in terms of API rate limit and server performance. Using
 unfiltered requests only is not only uglier, but will also force the
 client to paginate back until a known status has been found, which
 results in an indeterminate number of API requests (especially for
 high-volume accounts, which we are determined to support).

 An idea that comes to mind is to use since_id, but starting from a
 status a few minutes older than the most current one, instead of the
 latest. Does this approach sound feasible/reasonable? Is there any
 idea as to what's the typical time taken for a delayed message until
 it finally appears in the stream? I'm guessing going back a few
 minutes would recover 90% of lost posts, does this sound like a
 correct assumption?

 Also, are there any plans to deal with this scenario at the API level
 in the future? Maybe a parameter whereby results are returned by
 insertion timestamp, irrespective of the time they were created at or
 the ID they were assigned? Or maybe a free call (as in not counting
 against the limit) that mimics a standard timeline request but returns
 *just* the list of IDs?

 Thanks!
 @pcuenca - @latenitesoft




-- 
Carlos Crosetti


[twitter-dev] Re: search by link

2009-04-10 Thread Carlos Crosetti
Squeak Smalltalk Twitter Client at

http://code.google.com/p/twitter-client/


[twitter-dev] Re: Changes for April 9, 2009

2009-04-10 Thread Carlos Crosetti
I appreciate giving back sending DM to myself - you have now helped to have
this very important (non disturbing) test method - VERY THANKS

On Thu, Apr 9, 2009 at 9:35 PM, Matt Sanford m...@twitter.com wrote:


 Hi all,

Hot on the heels of yesterday's mega-deploy we've put out two small bug
 fixes for today, 2009-04-09:

* Fixed (OAuth): Accented characters in statuses were causing signature
 error for OAuth clients. This has been corrected.
 » See: http://code.google.com/p/twitter-api/issues/detail?id=433

* Fixed (REST): Attempting to direct message yourself failed and
 returned a direct message from cache. You can now direct message yourself
 again.
 » See:
 http://groups.google.com/group/twitter-development-talk/browse_frm/thread/a2f31e0a95807581

 Thanks;
  — Matt Sanford / @mzsanford




-- 
Carlos Crosetti


[twitter-dev] Re: Changes for April 8, 2009

2009-04-09 Thread Carlos Crosetti
I got mu friends timelines btoken today because you changed from POST to
get, now I aligned properly.

Would be nice from you tellling this changes in advance. Areyou doing
release management?

Best regards,, Carlos

On Thu, Apr 9, 2009 at 12:20 PM, Matt Sanford m...@twitter.com wrote:


 Hi all,

Sorry for the late email but the deploys yesterday ran late and we
 didn't get a chance to compile the change log. And a doozy of a change log
 it is with 10 entries. Other things were deployed as well but here are the
 10 API-facing changes:

* Changed (REST): The since parameter and If-Modified-Since header are
 no longer supported.
 » Discussed at http://bit.ly/19JZme

* Fixed (REST): Methods documented as requiring GET were allowing POST
 and not counting the rate limit correctly. These methods now require GET and
 return an error message if POST is used.
 » Discussed at http://bit.ly/o38Dl

* Fixed (REST): The deprecated email parameter was being silently
 ignored, an error is now returned.
   » Discussed at http://bit.ly/4APnTx
   » See: http://code.google.com/p/twitter-api/issues/detail?id=353

* Fixed (REST): The /users/show.$fmt method now thorws a 404 error if no
 recognized parameters are given.
   » This is a part of the previous issue and many complaints about the
 user @show being returned as a default

* Fixed (OAuth): Rate limiting was incorrectly by IP only when using the
 Authenitcation header. This has been corrected.
» See: http://code.google.com/p/twitter-api/issues/detail?id=376

* Fixed (OAuth): Error messaging for OAuth clients is now more detailed.
» See: http://code.google.com/p/twitter-api/issues/detail?id=403

* Fixed (REST): Direct message objects were not returning the large user
 representations in json responses. They will now begin doing so.

* Fixed (REST): Calls to direct message XML methods were incorrectly
 displaying the nilclass root tag. This has been corrected.
» See: http://code.google.com/p/twitter-api/issues/detail?id=406

* Feature (REST): Added /direct_messages/show/$id.$fmt method (where $id
 is the direct message id and $fmt is xml or json)
» See: http://code.google.com/p/twitter-api/issues/detail?id=369
» Note: Still needs to be added to the documentation

* Feature (OAuth): Added provisional support for Sign in via Twitter
 for OAuth applications. An official annoucement will follow after full
 support is available.
» More on this to come in subsequent mails. I need to get another
 piece in place first.

There were also a collection of other fixes which included fixing the
 Sign out link on the OAuth authorization page.

 Thanks;
  — Matt Sanford / @mzsanford




-- 
Carlos Crosetti


Re: Expect Header Issue for .NET developers

2008-12-24 Thread Carlos

Thanks Jake, I was getting the same errors.

Is this expected behavior now for Twitter or is this a bug in the new
Twitter release (Not supporting the Expect: Continue header). I'm
writing a multi-service Windows Mobile application and I'd prefer not
changing global http connection settings if I don't have to.

 Thanks for helping out with this tip, Jake.

 On Tue, Dec 23, 2008 at 20:31, JakeS jakesteven...@gmail.com wrote:

  Looks like twitter is updating something and their servers are
  returning error 417 for a lot of requests.  I looked into it and found
  that .NET automatically includes an Expect header containing 100-
  continue on every request unless you specifically tell it not to.

  So for any .NET devs having trouble, you can set
  System.Net.ServicePointManager.Expect100Continue = false before making
  your request to get past this issue.

 --
 Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x