[twitter-dev] My Client API was Decreased to 175

2010-07-01 Thread PiPS
Hi.

I am developing on twitter client.

My client uses xAuth.

But.. My Client API is 175


That was before 350.

Why was suddenly reduced by half?



Re: [twitter-dev] My Client API was Decreased to 175

2010-07-01 Thread Pascal Jürgens
http://status.twitter.com/post/750140886/site-tweaks


On Jul 1, 2010, at 9:49 , PiPS wrote:

 Hi.
 
 I am developing on twitter client.
 
 My client uses xAuth.
 
 But.. My Client API is 175
 
 
 That was before 350.
 
 Why was suddenly reduced by half?
 



[twitter-dev] Applications which has access.

2010-07-01 Thread Anna
Hi,

Is there any way to retrive the applications which has access to my
account?



Re: [twitter-dev] Applications which has access.

2010-07-01 Thread Thomas Woolway
Not through the API, although you can look at
http://twitter.com/settings/connections to see which apps have access.

Tom

On Thu, Jul 1, 2010 at 10:14 AM, Anna annatyler1...@gmail.com wrote:

 Hi,

 Is there any way to retrive the applications which has access to my
 account?




[twitter-dev] Twitter4J and sun.security.validator.ValidatorException

2010-07-01 Thread Yusuke
Hi,

Twitter4J users are facing sun.security.validator.ValidatorException
as of July 1 GMT.
It looks to be an API side issue. Is it a known one?

It can be workarounded with -Dtwitter4j.http.useSSL=false or
System.setProperty(twitter4j.http.useSSL,false);.

The exception stack trace looks like as following:

Caused by: sun.security.validator.ValidatorException: PKIX path
building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
   at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
   at sun.security.validator.PKIXValidator.engineValidate(Unknown
Source)
   at sun.security.validator.Validator.validate(Unknown Source)
   at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(Unknown
Source)
   at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown
Source)
   at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown
Source)
   ... 48 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
   at
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
Source)
   at java.security.cert.CertPathBuilder.build(Unknown Source)
   ... 54 more



Cheers,
--
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable/tweetable [ ] private
follow me on : http://twitter.com/yusukeyamamoto
subscribe me at : http://samuraism.jp/


[twitter-dev] Re: Twitter4J and sun.security.validator.ValidatorException

2010-07-01 Thread sb
Thanks for this.  We just ran into it.

On Jul 1, 7:26 am, Yusuke yus...@mac.com wrote:
 Hi,

 Twitter4J users are facing sun.security.validator.ValidatorException
 as of July 1 GMT.
 It looks to be an API side issue. Is it a known one?

 It can be workarounded with -Dtwitter4j.http.useSSL=false or
 System.setProperty(twitter4j.http.useSSL,false);.

 The exception stack trace looks like as following:
 
 Caused by: sun.security.validator.ValidatorException: PKIX path
 building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to
 find valid certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
        at sun.security.validator.PKIXValidator.engineValidate(Unknown
 Source)
        at sun.security.validator.Validator.validate(Unknown Source)
        at
 com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(Unknown
 Source)
        at
 com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknow n
 Source)
        at
 com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknow n
 Source)
        ... 48 more
 Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
 unable to find valid certification path to requested target
        at
 sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
 Source)
        at java.security.cert.CertPathBuilder.build(Unknown Source)
        ... 54 more

 

 Cheers,
 --
 Yusuke Yamamoto
 yus...@mac.com

 this email is: [x] bloggable/tweetable [ ] private
 follow me on :http://twitter.com/yusukeyamamoto
 subscribe me at :http://samuraism.jp/


[twitter-dev] Re: Twitter4J and sun.security.validator.ValidatorException

2010-07-01 Thread Mr Blog
FWIW, api.twitter.com cert also fails in Safari:
http://twitmart.org/img/UoNgE/apicerterr2.png

On Jul 1, 4:26 am, Yusuke yus...@mac.com wrote:
 Hi,

 Twitter4J users are facing sun.security.validator.ValidatorException
 as of July 1 GMT.
 It looks to be an API side issue. Is it a known one?

 It can be workarounded with -Dtwitter4j.http.useSSL=false or
 System.setProperty(twitter4j.http.useSSL,false);.

 The exception stack trace looks like as following:
 
 Caused by: sun.security.validator.ValidatorException: PKIX path
 building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to
 find valid certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
        at sun.security.validator.PKIXValidator.engineValidate(Unknown
 Source)
        at sun.security.validator.Validator.validate(Unknown Source)
        at
 com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(Unknown
 Source)
        at
 com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknow n
 Source)
        at
 com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknow n
 Source)
        ... 48 more
 Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
 unable to find valid certification path to requested target
        at
 sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
 Source)
        at java.security.cert.CertPathBuilder.build(Unknown Source)
        ... 54 more

 

 Cheers,
 --
 Yusuke Yamamoto
 yus...@mac.com

 this email is: [x] bloggable/tweetable [ ] private
 follow me on :http://twitter.com/yusukeyamamoto
 subscribe me at :http://samuraism.jp/


[twitter-dev] Twitter API SSL certificate failing validation was Re: Twitter4J and sun.security.validator.ValidatorException

2010-07-01 Thread Cameron Kaiser
 FWIW, api.twitter.com cert also fails in Safari:
 http://twitmart.org/img/UoNgE/apicerterr2.png

It is also failing the cURL CAs (changing subject).

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- FORTUNE: Expect bright evenings, especially from the cop car lights. ---


Re: [twitter-dev] Twitter API SSL certificate failing validation was Re: Twitter4J and sun.security.validator.ValidatorException

2010-07-01 Thread Cameron Kaiser
  FWIW, api.twitter.com cert also fails in Safari:
  http://twitmart.org/img/UoNgE/apicerterr2.png
 
 It is also failing the cURL CAs (changing subject).

... and checking the updated CA bundle from Mozilla, api.twitter.com's SSL
certificate does not validate against that either. I'm getting reams of user
reports. What happened?

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- There's always free cheddar in a mousetrap, baby. -- Tom Waits -


[twitter-dev] i want to display published article on twitter account

2010-07-01 Thread hina
Hello,

I am web developer and develop an application where experts are
published their articles and now i want ti display those published
article on the twitter account. Please help me how can i will do.

Thanks
Hina


[twitter-dev] Re: My Client API was Decreased to 175

2010-07-01 Thread Nik Fletcher
Check this thread:

http://groups.google.com/group/twitter-development-talk/browse_thread/thread/e6cc26581bde8a0b

All clients are experiencing this - and at times it's dropping below
175 RPH:

http://groups.google.com/group/twitter-development-talk/browse_thread/thread/f2fe7c02a69e2c1b/

-N

On Jul 1, 8:49 am, PiPS pip...@gmail.com wrote:
 Hi.

 I am developing on twitter client.

 My client uses xAuth.

 But.. My Client API is 175

 That was before 350.

 Why was suddenly reduced by half?


[twitter-dev] Re: Twitter API SSL certificate failing validation was Re: Twitter4J and sun.security.validator.ValidatorException

2010-07-01 Thread Hagen
I tryed both methods

 -Dtwitter4j.http.useSSL=false and
System.setProperty(twitter4j.http.useSSL,false);.

but they doesn help for me
what i do wrong?


[twitter-dev] Re: Applications which has access.

2010-07-01 Thread cthress
Anna,

Go to your account settings on Twitter and select Connections.
That's where you'll find the list of applications with access to your
account.

Thanks,

Carl


On Jul 1, 4:14 am, Anna annatyler1...@gmail.com wrote:
 Hi,

 Is there any way to retrive the applications which has access to my
 account?


Re: [twitter-dev] Twitter API SSL certificate failing validation was Re: Twitter4J and sun.security.validator.ValidatorException

2010-07-01 Thread Taylor Singletary
Hi everyone noticing the SSL certificate issues,

We're working on it.

Taylor


On Thu, Jul 1, 2010 at 5:50 AM, Cameron Kaiser spec...@floodgap.com wrote:

   FWIW, api.twitter.com cert also fails in Safari:
   http://twitmart.org/img/UoNgE/apicerterr2.png
 
  It is also failing the cURL CAs (changing subject).

 ... and checking the updated CA bundle from Mozilla, api.twitter.com's SSL
 certificate does not validate against that either. I'm getting reams of
 user
 reports. What happened?

 --
  personal:
 http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
 ckai...@floodgap.com
 -- There's always free cheddar in a mousetrap, baby. -- Tom Waits
 -



[twitter-dev] Max requests using oauth

2010-07-01 Thread lu5ceh
a developing a Twitter App using oauth (oauth_token -
oauth_token_secret) How i can increase default max app requests per
hour?


Re: [twitter-dev] oAuth and callback function

2010-07-01 Thread Taylor Singletary
In general, I recommend explicitly specifying your oauth_callback on the
request token step, whether you're doing out of band auth or doing standard
OAuth flows. If performing out-of-band auth, provide oauth_callback=oob.
While there's nothing wrong with relying on what you've stored in your
application record, it's simply better (and spec compliant) OAuth to be
explicit.

Taylor


On Wed, Jun 30, 2010 at 6:29 PM, Elhassan Rais berberacro...@gmail.comwrote:

 check the config.php file if you defined the callback url there.


 On Wed, Jun 30, 2010 at 6:23 PM, EastSideDev eastside...@gmail.comwrote:

 I changed the url for my callback function, and updated that
 information in my application settings on the twitter API site. The
 problem I am running into, is that I am still getting the old callback
 URL. Is there a lag time, before changes take effect?





Re: [twitter-dev] Re: Authentication for retweeted_by_me

2010-07-01 Thread Matt Harris
Hey Carl,

Your correct about the parameters in the auth header. It was the base string
I was referring to. Looking at your basestring I notice it is in order, but
that it doesn't include the oauth_nonce. Can you check the oauth_nonce is
actually in your base string?

Matt

On Wed, Jun 30, 2010 at 3:45 PM, cthress c...@4thress.com wrote:

 Matt,

 It doesn't seem to make a difference. I also checked it against the
 base string and headers for the user_timeline query that is working
 ok, and the order of the elements is the same in both queries.


 Thanks,

 Carl


 On Jun 30, 4:42 pm, Matt Harris thematthar...@twitter.com wrote:
  Hi Carl,
 
  My immediate response is that the order of arguments in your basestring
 are
  different to the order in your authorization header. This would cause the
  signatures to be different as you signed them in one order but delivered
 in
  another.
 
  See if keeping them in the same order fixes it.
 
  Matt
 
 
 
  On Wed, Jun 30, 2010 at 2:29 PM, cthress c...@4thress.com wrote:
   Matt,
 
   Here's the base string:
   GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
   %2Fretweeted_by_me.jsonoauth_consumer_key%3D
   %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
   %3D1277932576%26oauth_token%3D%26oauth_version%3D1.0
 
   And here are the headers:
   Authorization: OAuth realm=http%3A%2F%2Fapi.twitter.com
 
  
 %2F,oauth_version=1.0,oauth_nonce=e32167a3bfc33f59e1d18e3907df5ee6,oauth_timestamp=1277932576,oauth_consumer_key=*,oauth_token=*,oauth_signature_method=HMAC-
   SHA1,oauth_signature=ZQZvWpefFlWr1ro%2FxMF%2FNvCX624%3D
 
   Let me know if you need any of the values I replaced with asterisks.
 
   Thanks,
 
   Carl
 
   On Jun 30, 3:35 pm, Matt Harris thematthar...@twitter.com wrote:
Hi Carl,
 
Could you share your base string and the post headers you are
 sending?
   (with
the oauth token and secret obscured) and we'll see what we can find.
 
Thanks,
Matt
 
On Wed, Jun 30, 2010 at 1:10 PM, cthress c...@4thress.com wrote:
 Matt,
 
 I'm running into a different issue now. I'm using the same method
 for
 authentication as I would for user_timeline, but I'm getting an
 incorrect signature error returned to me when I try
 authenticating.
 When I run the same function with user_timeline as the endpoint, it
 works great. Any ideas?
 
 Thanks,
 
 Carl
 
--
 
Matt Harris
Developer Advocate, Twitterhttp://twitter.com/themattharris
 
  --
 
  Matt Harris
  Developer Advocate, Twitterhttp://twitter.com/themattharris




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


Re: [twitter-dev] Twitter API SSL certificate failing validation was Re: Twitter4J and sun.security.validator.ValidatorExceptio

2010-07-01 Thread Cameron Kaiser
 Hi everyone noticing the SSL certificate issues,
 We're working on it.

Seems to be checking out now. Thanks!

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Watch out, Citizens. Marx's tomb is a communist plot. --


Re: [twitter-dev] Re: oauth status update returning error 401 invalid / used nonce

2010-07-01 Thread Matt Harris
Hi James,

It sounds like you have the correct information for your application. As you
are using your own personal access token and secret you don't need to be
doing any of the OAuth authorization steps, but you do need to sign any
request you make.

Are you using any PHP libraries to help you with this? There are a couple
listed on http://dev.twitter.com/pages/oauth_libraries#php.

Whether you are or not, can you share your signature base string and
authorization headers (with the secrets and tokens removed) and we'll take a
look.

Thanks,
Matt


On Wed, Jun 30, 2010 at 8:54 PM, James Ford
jamesfordmun...@googlemail.comwrote:

 Thanks for the response.

 I am using the consumer key and secret found here:
 http://dev.twitter.com/apps/my
 app id number

 And the access token and secret found here: http://dev.twitter.com/apps/
 my
 app id number/my_token

 No joy.

 On Jun 30, 9:47 pm, Andrew W. Donoho andrew.don...@gmail.com
 wrote:
  On Jun 30, 2010, at 14:32 , James Ford wrote:
 
   One thing I'm perhaps not clear on, do I need xAuth for this to work?
 
  You do need to get the access token somehow. That is what xAuth provides
 you. That said, you sound like you are a server app. Twitter doesn't support
 xAuth for server apps. You probably need to use the standardOAuthtoken
 request protocol.
 
  Anon,
  Andrew
  
  Andrew W. Donoho
  Donoho Design Group, L.L.C.
  a...@ddg.com, +1 (512) 750-7596
 
  To take no detours from the high road of reason and social
 responsibility.
  -- Marcus Aurelius




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


Re: [twitter-dev] Re: Twitter4J and sun.security.validator.ValidatorException

2010-07-01 Thread Matt Harris
Hey,

We had some issues with our SSL certificates this morning that were probably
to blame for this. The situation should now be resolved.

Thanks,
Matt

On Thu, Jul 1, 2010 at 5:39 AM, Mr Blog mrblogdot...@gmail.com wrote:

 FWIW, api.twitter.com cert also fails in Safari:
 http://twitmart.org/img/UoNgE/apicerterr2.png

 On Jul 1, 4:26 am, Yusuke yus...@mac.com wrote:
  Hi,
 
  Twitter4J users are facing sun.security.validator.ValidatorException
  as of July 1 GMT.
  It looks to be an API side issue. Is it a known one?
 
  It can be workarounded with -Dtwitter4j.http.useSSL=false or
  System.setProperty(twitter4j.http.useSSL,false);.
 
  The exception stack trace looks like as following:
  
  Caused by: sun.security.validator.ValidatorException: PKIX path
  building failed:
  sun.security.provider.certpath.SunCertPathBuilderException: unable to
  find valid certification path to requested target
 at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
 at sun.security.validator.PKIXValidator.engineValidate(Unknown
  Source)
 at sun.security.validator.Validator.validate(Unknown Source)
 at
  com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(Unknown
  Source)
 at
 
 com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknow
 n
  Source)
 at
 
 com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknow
 n
  Source)
 ... 48 more
  Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
  unable to find valid certification path to requested target
 at
  sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
  Source)
 at java.security.cert.CertPathBuilder.build(Unknown Source)
 ... 54 more
 
  
 
  Cheers,
  --
  Yusuke Yamamoto
  yus...@mac.com
 
  this email is: [x] bloggable/tweetable [ ] private
  follow me on :http://twitter.com/yusukeyamamoto
  subscribe me at :http://samuraism.jp/




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


Re: [twitter-dev] Re: Applications which has access.

2010-07-01 Thread Matt Harris
Hey Anna,

Just to confirm that this allows you to see which OAuth (and xAuth)
applications have access to your account. It doesn't show you applications
which only use Basic Authentication to identify you.

With OAuth applications you can safely change your password. It is only the
applications which haven't converted yet which will stop working.

Hope that helps,
Matt

On Thu, Jul 1, 2010 at 7:23 AM, cthress c...@4thress.com wrote:

 Anna,

 Go to your account settings on Twitter and select Connections.
 That's where you'll find the list of applications with access to your
 account.

 Thanks,

 Carl


 On Jul 1, 4:14 am, Anna annatyler1...@gmail.com wrote:
  Hi,
 
  Is there any way to retrive the applications which has access to my
  account?




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


Re: [twitter-dev] Max requests using oauth

2010-07-01 Thread Matt Harris
Hi lu5ceh,

The default rate limit applies to all users of the API and is currently at
175 requests per hour. The only way to increase those is with our approval.
You can send a request to be considered for whitelisting to our email
address listed on http://dev.twitter.com/pages/support.

Hope that helps,
Matt

On Thu, Jul 1, 2010 at 7:49 AM, lu5ceh ignacio.santo...@gmail.com wrote:

 a developing a Twitter App using oauth (oauth_token -
 oauth_token_secret) How i can increase default max app requests per
 hour?




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


Re: [twitter-dev] Finding place id of a city

2010-07-01 Thread Matt Harris
Hi Ryan,

You are correct that you should be able to do this using the /geo/search
request. There is a known issue at the moment that POIs are always returned,
making it hard to find city matches. We have a fix that's being tested now
for that. If you want to file this on the issue tracker
http://code.google.com/p/twitter-api/issues/list we'll update it once the
fix is deployed.

Hope that helps,
Matt

On Wed, Jun 30, 2010 at 10:01 PM, Ryan W rwilli...@gmail.com wrote:

 I was working with the place search method:


 http://api.twitter.com/1/geo/search.json?query=Portland,%20ORgranularity=city

 But, I'm only getting place results with type = poi

 What's the preferred way to get the place id of a city?


 I was able to get it with a lat/long:


 http://api.twitter.com/1/geo/reverse_geocode.json?lat=45.5234515long=-122.6762071granularity=city

 http://api.twitter.com/1/geo/search.json?lat=45.5234515long=-122.6762071granularity=city

 But, I was trying to see if I could get it with a string search.

 Thanks!




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


[twitter-dev] Re: Authentication for retweeted_by_me

2010-07-01 Thread cthress
Matt,

I must have accidentally chopped it out when I was replacing the
consumer key with asterisks the last time around. Here's the string
from my most recent attempt...

basestring:

GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
%2Fretweeted_by_me.jsonoauth_consumer_key%3D*%26oauth_nonce
%3D*%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1278003825%26oauth_token%3D*%26oauth_version%3D1.0


Thanks,

Carl


On Jul 1, 10:56 am, Matt Harris thematthar...@twitter.com wrote:
 Hey Carl,

 Your correct about the parameters in the auth header. It was the base string
 I was referring to. Looking at your basestring I notice it is in order, but
 that it doesn't include the oauth_nonce. Can you check the oauth_nonce is
 actually in your base string?

 Matt



 On Wed, Jun 30, 2010 at 3:45 PM, cthress c...@4thress.com wrote:
  Matt,

  It doesn't seem to make a difference. I also checked it against the
  base string and headers for the user_timeline query that is working
  ok, and the order of the elements is the same in both queries.

  Thanks,

  Carl

  On Jun 30, 4:42 pm, Matt Harris thematthar...@twitter.com wrote:
   Hi Carl,

   My immediate response is that the order of arguments in your basestring
  are
   different to the order in your authorization header. This would cause the
   signatures to be different as you signed them in one order but delivered
  in
   another.

   See if keeping them in the same order fixes it.

   Matt

   On Wed, Jun 30, 2010 at 2:29 PM, cthress c...@4thress.com wrote:
Matt,

Here's the base string:
GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
%2Fretweeted_by_me.jsonoauth_consumer_key%3D
%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1277932576%26oauth_token%3D%26oauth_version%3D1.0

And here are the headers:
Authorization: OAuth realm=http%3A%2F%2Fapi.twitter.com

  %2F,oauth_version=1.0,oauth_nonce=e32167a3bfc33f59e1d18e3907df5ee6,oauth_timestamp=1277932576,oauth_consumer_key=*,oauth_token=*,oauth_signature_method=HMAC-
SHA1,oauth_signature=ZQZvWpefFlWr1ro%2FxMF%2FNvCX624%3D

Let me know if you need any of the values I replaced with asterisks.

Thanks,

Carl

On Jun 30, 3:35 pm, Matt Harris thematthar...@twitter.com wrote:
 Hi Carl,

 Could you share your base string and the post headers you are
  sending?
(with
 the oauth token and secret obscured) and we'll see what we can find.

 Thanks,
 Matt

 On Wed, Jun 30, 2010 at 1:10 PM, cthress c...@4thress.com wrote:
  Matt,

  I'm running into a different issue now. I'm using the same method
  for
  authentication as I would for user_timeline, but I'm getting an
  incorrect signature error returned to me when I try
  authenticating.
  When I run the same function with user_timeline as the endpoint, it
  works great. Any ideas?

  Thanks,

  Carl

 --

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

   --

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

 --

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


Re: [twitter-dev] Re: Authentication for retweeted_by_me

2010-07-01 Thread Matt Harris
Hey Carl,

Thanks for the update. We're going to need to look at the other bits of
information, if you want to email me that off list please do.
Matt

On Thu, Jul 1, 2010 at 10:07 AM, cthress c...@4thress.com wrote:

 Matt,

 I must have accidentally chopped it out when I was replacing the
 consumer key with asterisks the last time around. Here's the string
 from my most recent attempt...

 basestring:

 GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
 %2Fretweeted_by_me.jsonoauth_consumer_key%3D*%26oauth_nonce
 %3D*%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
 %3D1278003825%26oauth_token%3D*%26oauth_version%3D1.0


 Thanks,

 Carl


 On Jul 1, 10:56 am, Matt Harris thematthar...@twitter.com wrote:
  Hey Carl,
 
  Your correct about the parameters in the auth header. It was the base
 string
  I was referring to. Looking at your basestring I notice it is in order,
 but
  that it doesn't include the oauth_nonce. Can you check the oauth_nonce is
  actually in your base string?
 
  Matt
 
 
 
  On Wed, Jun 30, 2010 at 3:45 PM, cthress c...@4thress.com wrote:
   Matt,
 
   It doesn't seem to make a difference. I also checked it against the
   base string and headers for the user_timeline query that is working
   ok, and the order of the elements is the same in both queries.
 
   Thanks,
 
   Carl
 
   On Jun 30, 4:42 pm, Matt Harris thematthar...@twitter.com wrote:
Hi Carl,
 
My immediate response is that the order of arguments in your
 basestring
   are
different to the order in your authorization header. This would cause
 the
signatures to be different as you signed them in one order but
 delivered
   in
another.
 
See if keeping them in the same order fixes it.
 
Matt
 
On Wed, Jun 30, 2010 at 2:29 PM, cthress c...@4thress.com wrote:
 Matt,
 
 Here's the base string:
 GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
 %2Fretweeted_by_me.jsonoauth_consumer_key%3D
 %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp

 %3D1277932576%26oauth_token%3D%26oauth_version%3D1.0
 
 And here are the headers:
 Authorization: OAuth realm=http%3A%2F%2Fapi.twitter.com
 
  
 %2F,oauth_version=1.0,oauth_nonce=e32167a3bfc33f59e1d18e3907df5ee6,oauth_timestamp=1277932576,oauth_consumer_key=*,oauth_token=*,oauth_signature_method=HMAC-
 SHA1,oauth_signature=ZQZvWpefFlWr1ro%2FxMF%2FNvCX624%3D
 
 Let me know if you need any of the values I replaced with
 asterisks.
 
 Thanks,
 
 Carl
 
 On Jun 30, 3:35 pm, Matt Harris thematthar...@twitter.com wrote:
  Hi Carl,
 
  Could you share your base string and the post headers you are
   sending?
 (with
  the oauth token and secret obscured) and we'll see what we can
 find.
 
  Thanks,
  Matt
 
  On Wed, Jun 30, 2010 at 1:10 PM, cthress c...@4thress.com
 wrote:
   Matt,
 
   I'm running into a different issue now. I'm using the same
 method
   for
   authentication as I would for user_timeline, but I'm getting an
   incorrect signature error returned to me when I try
   authenticating.
   When I run the same function with user_timeline as the
 endpoint, it
   works great. Any ideas?
 
   Thanks,
 
   Carl
 
  --
 
  Matt Harris
  Developer Advocate, Twitterhttp://twitter.com/themattharris
 
--
 
Matt Harris
Developer Advocate, Twitterhttp://twitter.com/themattharris
 
  --
 
  Matt Harris
  Developer Advocate, Twitterhttp://twitter.com/themattharris




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


[twitter-dev] Create new Twitter account using API? Possible?

2010-07-01 Thread ikevinjpdev
Is is possible to use the API to create a new user account? I cannot
seem to find anything in the documentation. Anyone could provide some
information would be appreciated. Thanks!


[twitter-dev] Re: Finding place id of a city

2010-07-01 Thread Ryan W
Thanks Matt, I've entered this into the issue tracker:

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

On Jul 1, 9:56 am, Matt Harris thematthar...@twitter.com wrote:
 Hi Ryan,

 You are correct that you should be able to do this using the /geo/search
 request. There is a known issue at the moment that POIs are always returned,
 making it hard to find city matches. We have a fix that's being tested now
 for that. If you want to file this on the issue 
 trackerhttp://code.google.com/p/twitter-api/issues/listwe'll update it once 
 the
 fix is deployed.

 Hope that helps,
 Matt





 On Wed, Jun 30, 2010 at 10:01 PM, Ryan W rwilli...@gmail.com wrote:
  I was working with the place search method:

 http://api.twitter.com/1/geo/search.json?query=Portland,%20ORgranula...

  But, I'm only getting place results with type = poi

  What's the preferred way to get the place id of a city?

  I was able to get it with a lat/long:

 http://api.twitter.com/1/geo/reverse_geocode.json?lat=45.5234515long...

 http://api.twitter.com/1/geo/search.json?lat=45.5234515long=-122.676...

  But, I was trying to see if I could get it with a string search.

  Thanks!

 --

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


[twitter-dev] batch requests

2010-07-01 Thread Kyle Bragger
Hey all —

Building a tool for Forrst that allows users to find each other on
Forrst based on who they're following on Twitter. Essentially they
authenticate with OAuth, I grab a list of user ids that they follow
(friends/ids), but then somewhat inelegantly, I have to make N
requests to users/show, one for each user id. Doing it this way is
going to run me right into a wall for every user who has = 150
friends. Is there a way to batch this, e.g. to get user data by ids en
masse, or do I need to ask for whitelisting?

Thanks
Kyle


Re: [twitter-dev] batch requests

2010-07-01 Thread Taylor Singletary
Hi Kyle,

There are few bulk operations available with the Twitter API today,
but there is one that I think will be useful for you:

GET http://api.twitter.com/1/users/lookup.xml (or JSON) - takes
comma-separated list of up to 100 user ids or screen names, such as:

http://api.twitter.com/1/users/lookup.xml?screen_name=dougw,raffi,episod,themattharris,mccv

Example return:

?xml version=1.0 encoding=UTF-8?
users type=array
user
  id819797/id
  nameTaylor Singletary/name
  screen_nameepisod/screen_name
  locationiPhone: 37.781868,-122.400377/location
  descriptionReality Technician, Developer Advocate at Twitter, a
total goblin/description
  
profile_image_urlhttp://a1.twimg.com/profile_images/992899978/goblin-avatar_normal.png/profile_image_url
  urlhttp://bit.ly/5w7P88/url
  protectedfalse/protected
  followers_count1536/followers_count
  profile_background_color00/profile_background_color
  profile_text_color00/profile_text_color
  profile_link_color731673/profile_link_color
  profile_sidebar_fill_color007ffe/profile_sidebar_fill_color
  profile_sidebar_border_colorbb0e79/profile_sidebar_border_color
  friends_count1459/friends_count
  created_atWed Mar 07 22:23:19 + 2007/created_at
  favourites_count333/favourites_count
  utc_offset-28800/utc_offset
  time_zonePacific Time (US amp; Canada)/time_zone
  
profile_background_image_urlhttp://a3.twimg.com/profile_background_images/19651315/fiberoptics.jpg/profile_background_image_url
  profile_background_tiletrue/profile_background_tile
  profile_use_background_imagetrue/profile_use_background_image
  notificationsfalse/notifications
  geo_enabledtrue/geo_enabled
  verifiedfalse/verified
  followingfalse/following
  statuses_count6627/statuses_count
  langen/lang
  contributors_enabledfalse/contributors_enabled
  status
created_atThu Jul 01 19:35:34 + 2010/created_at
id17515859885/id
textGreat tutorial on building an iPhone Twitter client using
Appcelerator: http://bit.ly/cU8MAK/text
sourcelt;a href=quot;http://www.tweetdeck.comquot;
rel=quot;nofollowquot;gt;TweetDecklt;/agt;/source
truncatedfalse/truncated
in_reply_to_status_id/in_reply_to_status_id
in_reply_to_user_id/in_reply_to_user_id
favoritedfalse/favorited
in_reply_to_screen_name/in_reply_to_screen_name
geo/
coordinates/
place/
contributors/
  /status
/user
user
  id8285392/id
  nameraffi/name
  screen_nameraffi/screen_name
  locationSan Francisco, California/location
  descriptionTinkering, writing, engineering, and breaking things as
the tech lead of @twitterapi./description
  
profile_image_urlhttp://a1.twimg.com/profile_images/364041028/raffi-headshot-casual_normal.png/profile_image_url
  urlhttp://www.mehack.com//url
  protectedfalse/protected
  followers_count3429/followers_count
  profile_background_colorC0DEED/profile_background_color
  profile_text_color33/profile_text_color
  profile_link_color0084B4/profile_link_color
  profile_sidebar_fill_colorDDEEF6/profile_sidebar_fill_color
  profile_sidebar_border_colorC0DEED/profile_sidebar_border_color
  friends_count469/friends_count
  created_atSun Aug 19 14:24:06 + 2007/created_at
  favourites_count47/favourites_count
  utc_offset-28800/utc_offset
  time_zonePacific Time (US amp; Canada)/time_zone
  
profile_background_image_urlhttp://s.twimg.com/a/121427/images/themes/theme1/bg.png/profile_background_image_url
  profile_background_tilefalse/profile_background_tile
  profile_use_background_imagetrue/profile_use_background_image
  notificationsfalse/notifications
  geo_enabledtrue/geo_enabled
  verifiedfalse/verified
  followingtrue/following
  statuses_count2567/statuses_count
  langen/lang
  contributors_enabledfalse/contributors_enabled
  status
created_atThu Jul 01 19:51:20 + 2010/created_at
id17516700269/id
textRT @themattharris: Working on some @twitterapi slides with
@raffi for the meetup at @hackerdojo tonight.
http://t.co/d1jDJm8/text
sourceweb/source
truncatedfalse/truncated
in_reply_to_status_id/in_reply_to_status_id
in_reply_to_user_id/in_reply_to_user_id
favoritedfalse/favorited
in_reply_to_screen_name/in_reply_to_screen_name
retweeted_status
  created_atThu Jul 01 19:49:15 + 2010/created_at
  id17516590921/id
  textWorking on some @twitterapi slides with @raffi for the
meetup at @hackerdojo tonight. http://t.co/d1jDJm8/text
  sourceweb/source
  truncatedfalse/truncated
  in_reply_to_status_id/in_reply_to_status_id
  in_reply_to_user_id/in_reply_to_user_id
  favoritedfalse/favorited
  in_reply_to_screen_name/in_reply_to_screen_name
  geo/
  coordinates/
  place xmlns:georss=http://www.georss.org/georss;
id2b6ff8c22edd9576/id
nameSoMa/name
full_nameSoMa, San Francisco/full_name
place_typeneighborhood/place_type
urlhttp://api.twitter.com/1/geo/id/2b6ff8c22edd9576.json/url
attributes/
bounding_box
  

Re: [twitter-dev] batch requests

2010-07-01 Thread Robert Van Dam
http://dev.twitter.com/doc/get/statuses/friends

is also useful if your just looking up friends.

It will give you 100 at a time and you can use the cursor to pull down
more than 100.  Still hurts if Ashton or CNN use your app but for most
people its pretty good.

On Thu, Jul 1, 2010 at 2:11 PM, Kyle Bragger kyle.brag...@gmail.com wrote:
 Hey all —

 Building a tool for Forrst that allows users to find each other on
 Forrst based on who they're following on Twitter. Essentially they
 authenticate with OAuth, I grab a list of user ids that they follow
 (friends/ids), but then somewhat inelegantly, I have to make N
 requests to users/show, one for each user id. Doing it this way is
 going to run me right into a wall for every user who has = 150
 friends. Is there a way to batch this, e.g. to get user data by ids en
 masse, or do I need to ask for whitelisting?

 Thanks
 Kyle


[twitter-dev] Re: i want to display published article on twitter account

2010-07-01 Thread Konpaku Kogasa
Assuming you have an RSS feed you can simply use something like
Twitterfeed (http://twitterfeed.com/) to push RSS feed updates to your
twitter account.  Please note that you should also have content
besides just posting links to give your account more personality and
not make people report you for spam.

- Konpaku

On Jun 30, 11:37 pm, hina hina.b...@gmail.com wrote:
 Hello,

 I am web developer and develop an application where experts are
 published their articles and now i want ti display those published
 article on the twitter account. Please help me how can i will do.

 Thanks
 Hina


[twitter-dev] Rich content in tweets as entities/annotations?

2010-07-01 Thread Jaanus
This is a request to the Twitter API team but rather than sending it
in private, I'm posting it here so others can chime in too.

Tweets are 140 characters. But sometimes Twitter decides that some
content is interesting enough to annotate with graphical icons on
Twitter.com. Examples are red ribbon/aids that I think happened a
while ago, and now during World Cup, the #worldcup hashtag gets a
football icon and all the #country 3-letter abbreviations get a flag.

These things happen quickly and spontaneously enough inside Twitter
that it's not possible or necessary to coordinate with dev community
beforehand. I appreciate that, and that's perfectly fine. But perhaps
you can send developers this data as metadata, so should the apps opt
in to displaying these, they could do that too? You already have two
mechanisms in place for this that you could utilize — the entities
where you transmit the URLs and hashtags, and of course annotations.
Could we have these icons transmitted as part of either of these
mechanisms? And maybe you can standardize the height or size so we
could consider it in our UI layouts?


J
cremeapp.com