Re: [twitter-dev] Re: How to detect a gap in timeline ?

2011-04-15 Thread Stuart Dallas
On Friday, 15 April 2011 at 01:05, mostafa farghaly wrote:
anybody ?

Store the last ID you saw, and if you don't get that ID the next time you make 
a request chances are that you missed some. Simples.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/


-- 
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] Invalid signature

2011-04-15 Thread nite21
Hi Guys

I am getting an invalid oauth signature error
my url is this

https://api.twitter.com/statuses/update.xml?oauth_consumer_key=iVjNcp1YHbQJMzmrpEaNgoauth_nonce=1184941015oauth_signature=Hndgqkow8z29ltlAir05uyYRuE0%3Doauth_signature_method=HMAC-SHA1oauth_timestamp=1302856754oauth_token=53616715-lJvGpHoGgxWqvHFDUM0eanKUqHtNx3Wcc6sh8Bgcistatus=HiAll

Will u help me out with this error thanks

Regards
Nite

-- 
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: error 401 failed oauth_signature and token / javascript - qml

2011-04-15 Thread galeyte
I don't have a 401 anymore but i recieve a you are being redirected
page, so i can't get my request_token
here is my code :

function getSignature() {
var accessor = { consumerSecret: consumer_secret,
tokenSecret: oauth_token_secret
};
var message = { method: POST,
action: /request_token,
parameters: []
};
message.parameters.push([oauth_callback,
OAuth.formEncode(oauth_callback)]);
message.parameters.push([oauth_consumer_key,
OAuth.formEncode(consumer_key)]);
message.parameters.push([oauth_nonce, OAuth.nonce(32)]);
message.parameters.push([oauth_signature_method,
signature_method]);
message.parameters.push([oauth_timestamp, OAuth.timestamp()]);
OAuth.completeRequest(message, accessor);
OAuth.SignatureMethod.sign(message, accessor);
console.log(OAuth.getParameter(message.parameters,
oauth_signature));
var data = Oauth oauth_consumer_key=+consumer_key
+oauth_signature_method=+signature_method
+oauth_callback=+OAuth.getParameter(message.parameters,
oauth_callback)
+oauth_timestamp=+OAuth.getParameter(message.parameters,
oauth_timestamp)
+oauth_nonce=+OAuth.getParameter(message.parameters, oauth_nonce)
+oauth_signature=+OAuth.getParameter(message.parameters,
oauth_signature);
console.log(data);
request_maker = new XMLHttpRequest();
request_maker.open(POST, https://api.twitter.com/oauth;);
request_maker.setRequestHeader(Authorization, data);
request_maker.onreadystatechange = oth_func;
request_maker.send(Authorization OAuth + data);
}

I don't now if it's me being dumb or anything else, but i really can't
find my mistake.

-- 
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] What I'm doing wrong when trying to retrieve friends timeline with parameters?

2011-04-15 Thread riahut.com
My first request is working and it pretty simple with no extra
parameters:
http://api.twitter.com/1/statuses/friends_timeline.json
application authenticated and I receive about 15 tweets.
when make GET with extra parameters:
GET /1/statuses/friends_timeline.json?count=50
I getting 401!!
pretty much cannot specify any parameters

When I do
GET /1/statuses/user_timeline.json?count=50
it works perfectly?!

Please advise!

-- 
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] failed to validate oauth signature and token

2011-04-15 Thread galeyte
Hi again !

I'm trying to develop a desktop-application javascript based.
I'm actually trying to get the request_token from twitter.
I'm using OAuth js library, and after testing their examples, i'm
trying to do the same thing as 
http://oauth.googlecode.com/svn/code/javascript/example/requestToken.html
do, because it seems to work and twitter respond with a valuable
request_token and secret.
To complete the exactly same request, i've been wiresharking my http
request and form the same strings with XMLHttpRequest in my code.
The only response i get is 401 - failed to validate oauth signature
or token, so i assume i make a mistake in basestring generation or
basstring signature.
my code :
function signForm() {
accessor = { consumerSecret: consumer_secret
, tokenSecret   : oauth_token_secret};
message = { action: /request_token
, method: POST
, parameters: []};
message.parameters.push([oauth_consumer_key, consumer_key]);
message.parameters.push([oauth_signature_method,
signature_method]);
OAuth.setTimestampAndNonce(message);
OAuth.SignatureMethod.sign(message, accessor);
return true;
}

function getSignature() {
signForm();
console.log(OAuth.getParameter(message.parameters,
oauth_signature));
OAuth.completeRequest(message, accessor);
request_maker = new XMLHttpRequest();
request_maker.open(POST, http://api.twitter.com/oauth/
request_token);
request_maker.setRequestHeader(Host, api.twitter.com);
request_maker.setRequestHeader(Content-type, application/x-www-
form-urlencoded);
request_maker.onreadystatechange = oth_func;
request_maker.send(oauth_consumer_key=+consumer_key
+oauth_signature_method=+signature_method
+oauth_timestamp=+OAuth.getParameter(message.parameters,
oauth_timestamp)
+oauth_nonce=+OAuth.getParameter(message.parameters, oauth_nonce)
+oauth_signature=+encodeURI(OAuth.getParameter(message.parameters,
oauth_signature)));
}

I've seen some base64 encoding in some twitter client sources, but
since it's not mentioned in twitter api doc, i don't use base64.

If you have any clue to help me go through this issue, i'd be
gratefull !

-- 
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] where's the REST api documentation?

2011-04-15 Thread Taylor Singletary
Unfortunately the REST API doesn't have a dedicated page linking to each
piece of the documentation (though it's something we're going to rectify).
The page you linked to, http://dev.twitter.com/doc contains links to each
documented resource of the REST API along the right-hand sidebar,
categorically organized based on the kind of objects the resource works
with.

@episod http://twitter.com/episod - Taylor Singletary


On Thu, Apr 14, 2011 at 3:18 AM, Matteo Sisti Sette 
matteosistise...@gmail.com wrote:

 Hi,

 In the official twitter documentation main page (
 http://dev.twitter.com/doc), under Streaming API  User Streams there is
 a link to Streaming API Documentation; under Search API there's a link
 to Search API Documentation, but under REST API and General there's no
 REST API Documentation link, nor ANY link pointing to a comprehensive REST
 API documentation.

 Where is the complete documentation of the REST API

 Thanks
 m.

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


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


Re: [twitter-dev] Invalid signature

2011-04-15 Thread Taylor Singletary
If you're trying to POST a status update, then you need to use the HTTP POST
method. Further, you should place the API-related data in the POST body of
the request instead of the query string (in other words, your status=HiAll
shouldn't be in the query string).

There are many reasons your signature may be invalid -- how are you
generating your signature? Are you using an OAuth library?

If at all possible, I recommend using HTTP header-based OAuth instead of
putting your oauth_* parameters on the query string: it separates concerns
and makes debugging these scenarios much easier.

@episod http://twitter.com/episod - Taylor Singletary


On Fri, Apr 15, 2011 at 2:03 AM, nite21 shanebond1...@gmail.com wrote:

 Hi Guys

 I am getting an invalid oauth signature error
 my url is this


 https://api.twitter.com/statuses/update.xml?oauth_consumer_key=iVjNcp1YHbQJMzmrpEaNgoauth_nonce=1184941015oauth_signature=Hndgqkow8z29ltlAir05uyYRuE0%3Doauth_signature_method=HMAC-SHA1oauth_timestamp=1302856754oauth_token=53616715-lJvGpHoGgxWqvHFDUM0eanKUqHtNx3Wcc6sh8Bgcistatus=HiAll

 Will u help me out with this error thanks

 Regards
 Nite

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


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


[twitter-dev] Re: failed to validate oauth signature and token

2011-04-15 Thread galeyte
Ok, i've checked again and there is some stuff i did not see at first.
So now i'm correctly generating my basestring :
basestring: POSThttp%3A%2F%2Fapi.twitter.com%2Foauth
%2Frequest_tokenoauth_consumer_key%3D[CONSUMER_KEY]%26oauth_nonce
%3Dmr7yTy%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1302881089%26oauth_version%3D1.0

and this is the signature :
signature: uC+AkOdUVj8fpiKL+GVLlM0QmAE=

I guess the problem is in the signature but i can't figure where.


On Apr 15, 4:28 pm, galeyte gaetan...@gmail.com wrote:
 Hi again !

 I'm trying to develop a desktop-application javascript based.
 I'm actually trying to get the request_token from twitter.
 I'm using OAuth js library, and after testing their examples, i'm
 trying to do the same thing 
 ashttp://oauth.googlecode.com/svn/code/javascript/example/requestToken
 do, because it seems to work and twitter respond with a valuable
 request_token and secret.
 To complete the exactly same request, i've been wiresharking my http
 request and form the same strings with XMLHttpRequest in my code.
 The only response i get is 401 - failed to validate oauth signature
 or token, so i assume i make a mistake in basestring generation or
 basstring signature.
 my code :
 function signForm() {
     accessor = { consumerSecret: consumer_secret
         , tokenSecret   : oauth_token_secret};
     message = { action: /request_token
         , method: POST
         , parameters: []};
     message.parameters.push([oauth_consumer_key, consumer_key]);
     message.parameters.push([oauth_signature_method,
 signature_method]);
     OAuth.setTimestampAndNonce(message);
     OAuth.SignatureMethod.sign(message, accessor);
     return true;

 }

 function getSignature() {
     signForm();
     console.log(OAuth.getParameter(message.parameters,
 oauth_signature));
     OAuth.completeRequest(message, accessor);
     request_maker = new XMLHttpRequest();
     request_maker.open(POST, http://api.twitter.com/oauth/
 request_token);
     request_maker.setRequestHeader(Host, api.twitter.com);
     request_maker.setRequestHeader(Content-type, application/x-www-
 form-urlencoded);
     request_maker.onreadystatechange = oth_func;
     request_maker.send(oauth_consumer_key=+consumer_key
 +oauth_signature_method=+signature_method
 +oauth_timestamp=+OAuth.getParameter(message.parameters,
 oauth_timestamp)
 +oauth_nonce=+OAuth.getParameter(message.parameters, oauth_nonce)
 +oauth_signature=+encodeURI(OAuth.getParameter(message.parameters,
 oauth_signature)));

 }

 I've seen some base64 encoding in some twitter client sources, but
 since it's not mentioned in twitter api doc, i don't use base64.

 If you have any clue to help me go through this issue, i'd be
 gratefull !

-- 
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] My Oauth started failing 2 days ago...

2011-04-15 Thread m36tb6ll

Hi--

Were there any changes on the Oauth implementation/API? I have a web
app which is working properly for almost a couple of months already. 2
days ago, it's oauth started to fail. I did not make any modification
and found no changes in the impementation. Can anyone please help me
out? The site is:

http://bslplus.m36tb6ll.com

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: Introduce yourself!

2011-04-15 Thread riahut.com
Hi I'm Mykhaylo Lytvynyuk

I'm developer of First AIR Twitter client for Blackberry Playbook called 
TweeKL

Please check it here: https://appworld.blackberry.com/webstore/content/34636

Also I developed many other application for Android and PlayBook mostly 
utilizing AIR 2.6 for mobile.

if you interested in AIR for mobile please visit my site http://riahut.com 
and join me on twitter http://twitter.com/lytvynyuk

-- 
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] Authentication issue

2011-04-15 Thread Taylor Singletary
What kind of errors are you seeing? Do you have an example of the status
code and body message? What specific endpoints throw the error?

@episod http://twitter.com/episod - Taylor Singletary


On Fri, Apr 15, 2011 at 10:23 AM, ap aashish.pa...@gmail.com wrote:

 Twitter API authentication throwing errors on all our sites. Any known
 issues that are not reflected on your API Status page?

 Thanks,
 -Ashish

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


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


[twitter-dev] Re: Authentication issue

2011-04-15 Thread m36tb6ll

Hi Ashish --

I'm experiencing the same thing which started 2 days ago. I hope
someone can give us an idea on what's going on--


On Apr 16, 1:23 am, ap aashish.pa...@gmail.com wrote:
 Twitter API authentication throwing errors on all our sites. Any known
 issues that are not reflected on your API Status page?

 Thanks,
 -Ashish

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


Re: [twitter-dev] Re: Authentication issue

2011-04-15 Thread Taylor Singletary
If you can provide some more details, I can investigate possible issues.
What parts of the requests are failing? There are many steps involved, so
localizing to the specific areas where you're having problems will be very
useful.

Make sure that when using OAuth, you're using api.twitter.com/oauth/* for
all paths and that when you're using the REST API you're using
api.twitter.com/1/* -- the subdomain matters for both areas of the API, and
the version number is imperative for the REST API.

@episod http://twitter.com/episod - Taylor Singletary


On Fri, Apr 15, 2011 at 10:35 AM, m36tb6ll raeste...@gmail.com wrote:


 Hi-

 same issue here... seems like the tokens are not matching..


 On Apr 16, 1:28 am, Taylor Singletary taylorsinglet...@twitter.com
 wrote:
  What kind of errors are you seeing? Do you have an example of the status
  code and body message? What specific endpoints throw the error?
 
  @episod http://twitter.com/episod - Taylor Singletary
 
 
 
 
 
 
 
  On Fri, Apr 15, 2011 at 10:23 AM, ap aashish.pa...@gmail.com wrote:
   Twitter API authentication throwing errors on all our sites. Any known
   issues that are not reflected on your API Status page?
 
   Thanks,
   -Ashish
 
   --
   Twitter developer documentation and resources:
 http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements Tracker:
  http://code.google.com/p/twitter-api/issues/list
   Change your membership to this group:
  http://groups.google.com/group/twitter-development-talk

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


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


[twitter-dev] Re: Authentication issue

2011-04-15 Thread m36tb6ll

Hi Taylor--

I'm not much of a programmer but if it would help, the problem is
occurring after hitting ALLOW.

I'm using Sachin Khosla  (@realin) TwitterAPI wrapper class -- it was
using twitter.com/oauth which was not a problem until 2 days ago. I
already changed it to api.twitter.com/oauth but the problem persists.

Thanks-


On Apr 16, 1:35 am, m36tb6ll raeste...@gmail.com wrote:
 Hi-

 same issue here... seems like the tokens are not matching..

 On Apr 16, 1:28 am, Taylor Singletary taylorsinglet...@twitter.com
 wrote:







  What kind of errors are you seeing? Do you have an example of the status
  code and body message? What specific endpoints throw the error?

  @episod http://twitter.com/episod - Taylor Singletary

  On Fri, Apr 15, 2011 at 10:23 AM, ap aashish.pa...@gmail.com wrote:
   Twitter API authentication throwing errors on all our sites. Any known
   issues that are not reflected on your API Status page?

   Thanks,
   -Ashish

   --
   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] Atom API limits

2011-04-15 Thread Jose M Segovia
Hello

I am working with Twitter Search and the Atom API and I'm having
problems that I will not be solved. The application that I do is to
perform content analysis (sociological research) It stores through RSS
Atom all Tweets that are made ​​with a specific hastag in a MySQL
database. The question is that combining RPP and PAGE as many it
stores 1500 tweets.

Is there any way for me to send a query such as http://
search.twitter.com/search.atom?q=+% 23hastag and get all the tweets
from that hastag without limit? Sending this query I get only the 20
most recent tweets.

Kind regards,

Jose

-- 
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: Authentication issue

2011-04-15 Thread ap
This will help you troubleshoot my (hopefully everyone else's) issue:

{Code}
TwitterFactory factory = new TwitterFactory(); // Good
Twitter twitter = factory.getInstance(); // Good

authenticatedUser = twitter.showUser(273610984); // Throws errors
{Code}

{Errors}
Twitter{auth='OAuthAuthorization{consumerKey='IOnTxKfXbr8NuY8uBG8A6g',
consumerSecret='**',
oauthToken=AccessToken{screenName='heller1900', userId=273610984}}'}
TwitterException{statusCode=404, retryAfter=0,
rateLimitStatus=RateLimitStatusJSONImpl{remainingHits=347,
hourlyLimit=350, resetTimeInSeconds=1302892, secondsUntilReset=3440,
resetTime=Fri Apr 15 14:43:16 EDT 2011}}
404:The URI requested is invalid or the resource requested, such as a
user, does not exists.
{request:\/1\/users\/show.json?screen_name=273610984,error:Not
found}
{Errors}

Thanks,
-Ashish

On Apr 15, 1:41 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 If you can provide some more details, I can investigate possible issues.
 What parts of the requests are failing? There are many steps involved, so
 localizing to the specific areas where you're having problems will be very
 useful.

 Make sure that when using OAuth, you're using api.twitter.com/oauth/* for
 all paths and that when you're using the REST API you're using
 api.twitter.com/1/* -- the subdomain matters for both areas of the API, and
 the version number is imperative for the REST API.

 @episod http://twitter.com/episod - Taylor Singletary







 On Fri, Apr 15, 2011 at 10:35 AM, m36tb6ll raeste...@gmail.com wrote:

  Hi-

  same issue here... seems like the tokens are not matching..

  On Apr 16, 1:28 am, Taylor Singletary taylorsinglet...@twitter.com
  wrote:
   What kind of errors are you seeing? Do you have an example of the status
   code and body message? What specific endpoints throw the error?

   @episod http://twitter.com/episod - Taylor Singletary

   On Fri, Apr 15, 2011 at 10:23 AM, ap aashish.pa...@gmail.com wrote:
Twitter API authentication throwing errors on all our sites. Any known
issues that are not reflected on your API Status page?

Thanks,
-Ashish

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

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

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


[twitter-dev] Re: Authentication issue

2011-04-15 Thread m36tb6ll

Hi-

same issue here... seems like the tokens are not matching..


On Apr 16, 1:28 am, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 What kind of errors are you seeing? Do you have an example of the status
 code and body message? What specific endpoints throw the error?

 @episod http://twitter.com/episod - Taylor Singletary







 On Fri, Apr 15, 2011 at 10:23 AM, ap aashish.pa...@gmail.com wrote:
  Twitter API authentication throwing errors on all our sites. Any known
  issues that are not reflected on your API Status page?

  Thanks,
  -Ashish

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

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


[twitter-dev] Re: Authentication issue

2011-04-15 Thread ap
I guess, essentially my question is: whats the best method to use to
get a Twitter User back, more specifically, the Twitter users' first
name and last name.

On Apr 15, 1:53 pm, ap aashish.pa...@gmail.com wrote:
 This will help you troubleshoot my (hopefully everyone else's) issue:

 {Code}
 TwitterFactory factory = new TwitterFactory(); // Good
 Twitter twitter = factory.getInstance(); // Good

 authenticatedUser = twitter.showUser(273610984); // Throws errors
 {Code}

 {Errors}
 Twitter{auth='OAuthAuthorization{consumerKey='IOnTxKfXbr8NuY8uBG8A6g',
 consumerSecret='**',
 oauthToken=AccessToken{screenName='heller1900', userId=273610984}}'}
 TwitterException{statusCode=404, retryAfter=0,
 rateLimitStatus=RateLimitStatusJSONImpl{remainingHits=347,
 hourlyLimit=350, resetTimeInSeconds=1302892, secondsUntilReset=3440,
 resetTime=Fri Apr 15 14:43:16 EDT 2011}}
 404:The URI requested is invalid or the resource requested, such as a
 user, does not exists.
 {request:\/1\/users\/show.json?screen_name=273610984,error:Not
 found}
 {Errors}

 Thanks,
 -Ashish

 On Apr 15, 1:41 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:







  If you can provide some more details, I can investigate possible issues.
  What parts of the requests are failing? There are many steps involved, so
  localizing to the specific areas where you're having problems will be very
  useful.

  Make sure that when using OAuth, you're using api.twitter.com/oauth/* for
  all paths and that when you're using the REST API you're using
  api.twitter.com/1/* -- the subdomain matters for both areas of the API, and
  the version number is imperative for the REST API.

  @episod http://twitter.com/episod - Taylor Singletary

  On Fri, Apr 15, 2011 at 10:35 AM, m36tb6ll raeste...@gmail.com wrote:

   Hi-

   same issue here... seems like the tokens are not matching..

   On Apr 16, 1:28 am, Taylor Singletary taylorsinglet...@twitter.com
   wrote:
What kind of errors are you seeing? Do you have an example of the status
code and body message? What specific endpoints throw the error?

@episod http://twitter.com/episod - Taylor Singletary

On Fri, Apr 15, 2011 at 10:23 AM, ap aashish.pa...@gmail.com wrote:
 Twitter API authentication throwing errors on all our sites. Any known
 issues that are not reflected on your API Status page?

 Thanks,
 -Ashish

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

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

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


[twitter-dev] Re: App title and url do not get updated (twitter website bug)

2011-04-15 Thread Jean-Pierre
Hi Taylor,

I'm experiencing the same problem. I changed my application name  url
last week but status update sent from my application still reports
it's from my old application name. Do you have an idea of when this
bug will be fixed ?

Regards,
JP.


On Mar 18, 4:00 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi MJL,

 We hope to have the bug fixed soon. We don't have the ability unfortunately
 to directly influence the changes you're trying to make and make them
 stick. Right now it appears that it takes 5 to 7 days for the change to
 take effect -- when the bug is fixed, this will be back to
 near-instantaneous.

 Thanks,
 Taylor

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







 On Fri, Mar 18, 2011 at 5:20 AM, MJL marklyon...@gmail.com wrote:
  I too am having this problem, only it doesnt say 'posted via' for my
  app at all
  i have an application name and url in my settings.

  On Feb 14, 3:11 pm, Taylor Singletary taylorsinglet...@twitter.com
  wrote:
   Hi Guy,

   Thanks for the report -- we're looking into this issue.

   Thanks,
   Taylor

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

   On Mon, Feb 14, 2011 at 1:43 AM, guysoft guys...@gmail.com wrote:
Hi all,
A few days ago I updated my apps url and title, however both don't
show up in the user statues posted after the update.

Here is an example tweet posted via 'python api' (the old name, that
keeps not getting updated):
   http://twitter.com/#!/guysoft/status/37077323643617280

Here is the app page (that shows as updated, new name is SMS Gate-
IL):
   http://dev.twitter.com/apps/621723

This is clearly a bug in the twitter website, but I can't seem to find
a way to reach the website developers, or jog twitter to start using
the updated title and url.

Thanks,
Guy

--
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] Looking for Sina Weibo ppl - chinese Twitter

2011-04-15 Thread Joost Zuurbier
Hey guys,

My name is Joost from Dot TK. We know everything about
Twitter, about their API, about 3rd party applications
and all that.

But we don't know anything about Sina's Weibo (the
Chinese Twitter equivalent).

We want to learn.

Is there someone in the bayarea that can, on consultancy
basis, give us more operational and technical background
of this application. Reason: we don't speak Chinese :(

If you are a Weibo developer that would be even better!

Looking forward to your replies,
warm regards,



Joost Zuurbier
Dot TK Registry



-- 
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] Repeated connection request

2011-04-15 Thread Konstantin
Hello!

We are trying to implement the sign in with twitter button...we can
successfully connect a twitter account and be redirected back to our
site. But if a user comes back to our site who has already
authorized our application and clicks the sign in with twitter button,
they have to go through the allow our site access step again and
reauthorize our application.

Does anybody have any idea why this might be
happening instead of what is described in step 3 on
http://dev.twitter.com/pages/sign_in_with_twitter ?

-- 
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] Repeated connection request

2011-04-15 Thread Taylor Singletary
Hi Konstantin,

Can you share the URL you're using for step 3? Is it
api.twitter.com/oauth/authorize or is it api.twitter.com/oauth/authenticate?

@episod http://twitter.com/episod - Taylor Singletary


On Fri, Apr 15, 2011 at 12:07 PM, Konstantin rasf...@gmail.com wrote:

 Hello!

 We are trying to implement the sign in with twitter button...we can
 successfully connect a twitter account and be redirected back to our
 site. But if a user comes back to our site who has already
 authorized our application and clicks the sign in with twitter button,
 they have to go through the allow our site access step again and
 reauthorize our application.

 Does anybody have any idea why this might be
 happening instead of what is described in step 3 on
 http://dev.twitter.com/pages/sign_in_with_twitter ?

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


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


[twitter-dev] Re: Repeated connection request

2011-04-15 Thread m36tb6ll

Did you save the access tokens of each user and use them whenever a
user log-in to your site/app? If not, then they will be asked to allow
the app everytime they login to your site.

Hope this helps...


On Apr 16, 3:07 am, Konstantin rasf...@gmail.com wrote:
 Hello!

 We are trying to implement the sign in with twitter button...we can
 successfully connect a twitter account and be redirected back to our
 site. But if a user comes back to our site who has already
 authorized our application and clicks the sign in with twitter button,
 they have to go through the allow our site access step again and
 reauthorize our application.

 Does anybody have any idea why this might be
 happening instead of what is described in step 3 
 onhttp://dev.twitter.com/pages/sign_in_with_twitter?

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


Re: [twitter-dev] Re: App title and url do not get updated (twitter website bug)

2011-04-15 Thread Taylor Singletary
Hi Jean-Pierre,

We believe we fixed this bug recently -- can you change the fields again and
observe with a subsequent tweet whether this updates within 10 minutes now?
If it still isn't updating, can you send me a private email (
epi...@twitter.com ) with your consumer key or application ID?

Thanks,
Taylor

@episod http://twitter.com/episod - Taylor Singletary


On Fri, Apr 15, 2011 at 11:34 AM, Jean-Pierre jpthomas...@gmail.com wrote:

 Hi Taylor,

 I'm experiencing the same problem. I changed my application name  url
 last week but status update sent from my application still reports
 it's from my old application name. Do you have an idea of when this
 bug will be fixed ?

 Regards,
 JP.


 On Mar 18, 4:00 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:
  Hi MJL,
 
  We hope to have the bug fixed soon. We don't have the ability
 unfortunately
  to directly influence the changes you're trying to make and make them
  stick. Right now it appears that it takes 5 to 7 days for the change to
  take effect -- when the bug is fixed, this will be back to
  near-instantaneous.
 
  Thanks,
  Taylor
 
  @episod http://twitter.com/episod - Taylor Singletary - Twitter
 Developer
  Advocate
 
 
 
 
 
 
 
  On Fri, Mar 18, 2011 at 5:20 AM, MJL marklyon...@gmail.com wrote:
   I too am having this problem, only it doesnt say 'posted via' for my
   app at all
   i have an application name and url in my settings.
 
   On Feb 14, 3:11 pm, Taylor Singletary taylorsinglet...@twitter.com
   wrote:
Hi Guy,
 
Thanks for the report -- we're looking into this issue.
 
Thanks,
Taylor
 
@episod http://twitter.com/episod - Taylor Singletary - Twitter
   Developer
Advocate
 
On Mon, Feb 14, 2011 at 1:43 AM, guysoft guys...@gmail.com wrote:
 Hi all,
 A few days ago I updated my apps url and title, however both don't
 show up in the user statues posted after the update.
 
 Here is an example tweet posted via 'python api' (the old name,
 that
 keeps not getting updated):
http://twitter.com/#!/guysoft/status/37077323643617280
 
 Here is the app page (that shows as updated, new name is SMS Gate-
 IL):
http://dev.twitter.com/apps/621723
 
 This is clearly a bug in the twitter website, but I can't seem to
 find
 a way to reach the website developers, or jog twitter to start
 using
 the updated title and url.
 
 Thanks,
 Guy
 
 --
 Twitter developer documentation and resources:
  http://dev.twitter.com/doc
 API updates via Twitter:http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
http://groups.google.com/group/twitter-development-talk
 
   --
   Twitter developer documentation and resources:
 http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements Tracker:
  http://code.google.com/p/twitter-api/issues/list
   Change your membership to this group:
  http://groups.google.com/group/twitter-development-talk

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


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


[twitter-dev] Trends.json Errors

2011-04-15 Thread MartinW

http://search.twitter.com/trends.json has just started erroring in the
last 24 hours. It now returns a 404.

Could someone please advise on an updated URL.

Thanks
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


Re: [twitter-dev] Trends.json Errors

2011-04-15 Thread Taylor Singletary
Hi Martin,

You can find out more about the new home of the trends API here:
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/bec060db85d8cf72/94028785c6283c48?hl=en_US(April
2010), and
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/5fea0e52ae19c1eb/a36331f69a968788?hl=en_US(April
2011)

( The trends API has effectively moved to api.twitter.com/1/trends.json )

@episod http://twitter.com/episod - Taylor Singletary


On Fri, Apr 15, 2011 at 3:11 PM, MartinW wright.mar...@gmail.com wrote:


 http://search.twitter.com/trends.json has just started erroring in the
 last 24 hours. It now returns a 404.

 Could someone please advise on an updated URL.

 Thanks
 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 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] Anywhere Twitter API Problem on IE8 , it's blocked for some reason . . .

2011-04-15 Thread Shehabic
Hi , I have a problem with Anywhere plugin on IE8 please test the
following URL on IE8

http://social.megaplugins.com/all#


and you click the twitter icon an alert with Clicked will be shown
then twitter's popup will appear when I enter user  pass and accept
the application's access nothing happens after that on the popup . .
after investigating the reason I found out that IE8 blocks Twitter's
JS after login . . . after further investigation I found out that it
blocked another generated script inside twitter's api hosted on Amazon
AWS . .

please let me know if there's a work around this problem . . .

-- 
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] Anywhere Twitter API Problem on IE8 , it's blocked for a Known reason

2011-04-15 Thread Shehabic
This part doesn't work on IE8

if(dd.parent.twttr)   -- This is where
access is denied for the JS API


From what I know in IE8 a popup can't communicate with an opener
document except with Proxy funciton i.e.

window.opener.runFuncitonName( )  where runFunctionName is a proxy
function  but u can't test something in the parent ( opener) document
like d.parent.twttr


Please provide any solution for this problem . . .

-- 
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: Anywhere Twitter API Problem on IE8 , it's blocked for a Known reason

2011-04-15 Thread Shehabic
I Found out that this happens if FBConnect JS is present at the same
page . . . 



On Apr 16, 2:49 am, Shehabic sheha...@gmail.com wrote:
 This part doesn't work on IE8

 if(dd.parent.twttr)           -- This is where
 access is denied for the JS API

 From what I know in IE8 a popup can't communicate with an opener
 document except with Proxy funciton i.e.

 window.opener.runFuncitonName( )  where runFunctionName is a proxy
 function  but u can't test something in the parent ( opener) document
 like d.parent.twttr

 Please provide any solution for this problem . . .

-- 
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: Repeated connection request

2011-04-15 Thread Konstantin
I can save access_token, but how can I use it later?
A user doesn't enter any information (login, email, etc), so I cannot
get his access_token from the database.
A user may login to Twitter under different accounts or may use
another computer, so I cannot use cookies too.
A user just clicks Sign in with Twitter button and I guess all
further actions should be done by Twitter.

On Apr 16, 12:13 am, m36tb6ll raeste...@gmail.com wrote:
 Did you save the access tokens of each user and use them whenever a
 user log-in to your site/app? If not, then they will be asked to allow
 the app everytime they login to your site.

-- 
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 get the number of pages in user's timeline

2011-04-15 Thread ToddySM
Hi,
I would like to iterate the timeline in chronological order which
means I need to start from the last page in the timeline (or the one
that has the oldest tweets) but I don't see any way to get the number
of pages in user's timeline.
I could always try to start with page 16 (16x200 statuses = max
allowed 3200) but for users that have less than 3000 statuses this
will be a wasted API call.

Any ideas?

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