[twitter-dev] xAuth - sometimes success response, sometimes Error-response

2010-10-05 Thread andy
Hello,

I´m using xAuth in an ActionScript 3.0 Project.
I still have problems that I sometimes get a successful response, and
a couple of times a faulty response.
If I get a bad response, then I have the HTTP status code 401 with
following error message:
Failed to validate oauth signature and token

The values that are different are the oAuth_nonce and oAuth_timestamp.
The oAuth_nonce is determined by a random number. This is determined
by the uuid of the current date. Subcontent special characters such
as: - removed. Such uuid should be unique. I wonder why I for similar
calculations of the nonce, etc. sometimes successful and sometimes get
a bad response!

-- 
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] (401) Unauthorized

2010-10-05 Thread Trevor Dean
I am getting an error executing the same code that has been working fine
until today.  I am getting an error when attempting to get access token, the
error is Invalid / expired Token.  I'm not sure what changed from
yesterday to today, any idea?  I am running this code locally so the
callback is http://127.0.0.1/.../..., not sure if that is causing the issue.

-- 
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] (401) Unauthorized

2010-10-05 Thread Tom van der Woerdt
Like the error says: your token is invalid or has expired. Make sure
that you are using the correct ones.

Tom



On 10/5/10 1:20 PM, Trevor Dean wrote:
 I am getting an error executing the same code that has been working fine
 until today.  I am getting an error when attempting to get access token,
 the error is Invalid / expired Token.  I'm not sure what changed from
 yesterday to today, any idea?  I am running this code locally so the
 callback is http://127.0.0.1/.../..., not sure if that is causing the
 issue.
 
 -- 
 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] (401) Unauthorized

2010-10-05 Thread Trevor Dean
This code hasn't changed and was working yesterday and has been working for
many months.   This error is happening right after the user has allowed the
application permission and is returning back to my application with tokens.
There is no chance for these tokens to expire so I don't think that this is
the issue

On Tue, Oct 5, 2010 at 7:24 AM, Tom van der Woerdt i...@tvdw.eu wrote:

 Like the error says: your token is invalid or has expired. Make sure
 that you are using the correct ones.

 Tom



 On 10/5/10 1:20 PM, Trevor Dean wrote:
  I am getting an error executing the same code that has been working fine
  until today.  I am getting an error when attempting to get access token,
  the error is Invalid / expired Token.  I'm not sure what changed from
  yesterday to today, any idea?  I am running this code locally so the
  callback is http://127.0.0.1/.../.. http://127.0.0.1/., not sure if
 that is causing the
  issue.
 
  --
  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] Hotlinking images

2010-10-05 Thread Christian Fazzini
Creating a new Twitter app.

I am thinking whether I should save the users images (profile and
background) on the local server or hotlink it instead?

Whats the e-etiquette for this?

Does Twitter encourage us to hotlink images?

-- 
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] Hotlinking images

2010-10-05 Thread Thomas Mango
I believe it's okay to directly use the URLs given in responses (like 
the user's profile image url), but you'll quickly run into issues where 
those URLs will stop working when someone changes their profile image.


I suggest keeping a copy of the image cached yourself and updating it 
every so often to avoid issues like this. However, a better alternative 
may be to use @joestump's http://tweetimag.es service.


Christian Fazzini wrote:

Creating a new Twitter app.

I am thinking whether I should save the users images (profile and
background) on the local server or hotlink it instead?

Whats the e-etiquette for this?

Does Twitter encourage us to hotlink images?




--
Thomas Mango
tsma...@gmail.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


Re: [twitter-dev] Adding twitter message

2010-10-05 Thread Knutsford Software
PHP has now been upgraded to 5.2 on the server but it is now failing with
Invalid / used nonceI gather that is due to the timezone not being liked. The 
site is being hosted in the UK so what do I do about the timezone so that 
twitter is happy pleas?so that Twitter is happy?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] Over the limit for this type of request, please wait a while and try again

2010-10-05 Thread James Peter
Hi folks,

Our service has been down for over 3 days now due to broken API calls.

Still waiting on any information from Twitter about what's going on,
but still in the dark.

About 3 days ago we started receiving messages (incorrectly in the new
error structure) saying Over the limit for this type of request,
please wait a while and try again with error code 33 when calling
friendships/destroy. According to the API docs, this call is not rate
limited http://dev.twitter.com/doc/post/friendships/destroy All our
API requests are authenticated with the requesting user.

This happens after about 100 calls. It makes our app completely
unusable. I'm guessing it's a bug, but after 3 days I'm wondering if
anyone else is seeing this problem. As the errors are returned in the
new error structure they didn't appear in our logs at first, so you
might be experiencing this problem and not noticing. The new error
structure returns a set of error messages under errors instead of
just a string under error.

James

-- 
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: Search with geocode does not respect search radius?

2010-10-05 Thread _ado
For what it's worth, I'm seeing the same issue. Radius parameter is
completely ignored. Data returned for, for example, a 1 mile radius
will return results spanning 60 miles.

-- 
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] Adding twitter message

2010-10-05 Thread Tom van der Woerdt
If you simply use time() then you'll get the correct timestamp, assuming
that the server's clock is correct. Timezones do not influence time().

Tom


On 10/5/10 3:29 PM, Knutsford Software wrote:
 PHP has now been upgraded to 5.2 on the server but it is now failing with
 
 Invalid / used nonce
 
  
 
 I gather that is due to the timezone not being liked. The site is being 
 hosted in the UK so what do I do about the timezone so that twitter is happy 
 pleas?
 
 so that Twitter is happy?
 
  
 
  
 
 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 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] Adding twitter message

2010-10-05 Thread Knutsford Software

Stupid me - of course it doesn't. The server's clock appears to be way out.


Thanks




- Original Message - 
From: Tom van der Woerdt i...@tvdw.eu

To: twitter-development-talk@googlegroups.com
Sent: Tuesday, October 05, 2010 3:07 PM
Subject: Re: [twitter-dev] Adding twitter message



If you simply use time() then you'll get the correct timestamp, assuming
that the server's clock is correct. Timezones do not influence time().

Tom


On 10/5/10 3:29 PM, Knutsford Software wrote:

PHP has now been upgraded to 5.2 on the server but it is now failing with

Invalid / used nonce



I gather that is due to the timezone not being liked. The site is being 
hosted in the UK so what do I do about the timezone so that twitter is 
happy pleas?


so that Twitter is happy?





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 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] Re: Search with geocode does not respect search radius?

2010-10-05 Thread Matt Harris
This is a know issue which the team is working on at the moment. I'll
post an update when a fix is deployed.

---
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris



On Mon, Oct 4, 2010 at 8:36 PM, _ado adri...@tijsseling.com wrote:
 For what it's worth, I'm seeing the same issue. Radius parameter is
 completely ignored. Data returned for, for example, a 1 mile radius
 will return results spanning 60 miles.

 --
 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] status destroy / caching in NewTwitter.

2010-10-05 Thread Tom Monaghan
Hi folks,

Can someone please share the caching expiration plan for newtwitter?
It seems to cache new content for a really, really long time (at least
12 hours, though I think this number is falling).

A few of our apps will regularly destroy some of their past tweets.
Users with oldtwitter will not see said tweet if they haven't had it
in their stream, and if it is in their stream, will lose it in their
first refresh or authentication cycle.  This is our expected behavior.

Users with newtwitter will see those tweets, even after they have been
destroyed.  Even if they didn't have an active session during the time
of their creation / destruction.

You can manually flush your home timeline's cache by leaving the
preview to return to oldtwitter.  If you then go back to newtwitter,
they stay gone.  Signing out / signing back in to newtwitter and
destroyed tweets are still there.

What are the new caching expiration values?  Are there plans to
decrease them?  Is there a goal min/max that we can expect?  Is what
I've described expected behavior?

Any help would be appreciated.

Thanks much,
Tom

-- 
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] Twitter Search

2010-10-05 Thread Matt Harris
Twitter Search only contains Tweets for ~5 days so there isn't a way
to 'find' the Tweets you are looking for using the Twitter APIs
directly.

Instead, we recommend you 'track' the keywords you are interested in
using the Streaming API. This will allow you to aggregate all the
Tweets that match what you are looking for, in real-time. Whilst this
won't allow you to access historical data it will provide you with a
way to consume and store Tweets from now onwards that you could query
yourself later on.

You can read more about the Streaming API here:
http://dev.twitter.com/pages/streaming_api

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris



On Mon, Oct 4, 2010 at 11:52 PM, lionmate bensongeor...@gmail.com wrote:
 How I fetch twitter feeds for 10 days before from a specified date?
 I want to get feeds for a specific stock symbol like HLNT for 10 days.

 --
 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] xAuth - sometimes success response, sometimes Error-response

2010-10-05 Thread Taylor Singletary
It's likely not the nonce that is invalid in this case -- or the timestamp.

In this case, the error specifically is indicating that it couldn't validate
the request.

Does the alternate 401 vs success happen with the exact same credentials, or
are you using different credentials?

Taylor

On Mon, Oct 4, 2010 at 11:41 PM, andy andreas-wilkeme...@andreazw.dewrote:

 Hello,

 I´m using xAuth in an ActionScript 3.0 Project.
 I still have problems that I sometimes get a successful response, and
 a couple of times a faulty response.
 If I get a bad response, then I have the HTTP status code 401 with
 following error message:
 Failed to validate oauth signature and token

 The values that are different are the oAuth_nonce and oAuth_timestamp.
 The oAuth_nonce is determined by a random number. This is determined
 by the uuid of the current date. Subcontent special characters such
 as: - removed. Such uuid should be unique. I wonder why I for similar
 calculations of the nonce, etc. sometimes successful and sometimes get
 a bad response!

 --
 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] Is the authorized user count for apps still available?

2010-10-05 Thread Jon Colverson
Hello.

I remember seeing somewhere a stat showing how many users had
authorized API access for my app, but I can't seem to find it anymore.
Is this number no longer available, or is it still there and I'm a
dunce for not being able to find it?

Thanks.

--
Jon

-- 
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] Is the authorized user count for apps still available?

2010-10-05 Thread Thomas Mango

Hey, Jon. This was actually just answered recently:
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/979d3d5bdfa06083

Basically, no it isn't readily available anymore and it would be better 
to track it yourself.


Jon Colverson wrote:

Hello.

I remember seeing somewhere a stat showing how many users had
authorized API access for my app, but I can't seem to find it anymore.
Is this number no longer available, or is it still there and I'm a
dunce for not being able to find it?

Thanks.

--
Jon




--
Thomas Mango
tsma...@gmail.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] Re: can email be accepted when using OAuth?

2010-10-05 Thread Gary
Hi,

I'm also having this problem.  I cannot login using the user's email.
AFAIK, I am encoding according to the documentation.  I encode the
post body and then encode again when I create the signature base
string.

Assume:
screen name: myscrname
password: m...@password--- note I added @ to the password just
to see if there was something about @ which was causing the problem
email: m...@somewhere.com

===
Using the screen name to login works fine:

Post body
---
x_auth_mode=client_authx_auth_password=my
%40passwordx_auth_username=myscrname

Sig base string
--
oauth_consumer_key%3Da%26oauth_nonce
%3D3u988u37Acy3GkQWd6tJKrY3fPTefe2QYIL2WXb1R3gWP
%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1286237702%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
%26x_auth_password%3Dmy%2540password%26x_auth_username%3Dmyscrname


===
Using the email to login fails:

Post body
---
x_auth_mode=client_authx_auth_password=my
%40passwordx_auth_username=me%40somewhere.com

Sig base string
--
oauth_consumer_key%3Da%26oauth_nonce
%3Dwwsim7hj1bfMylHARpmLwQerWjJJu4Y7kgzz8jCdY3Cv6%26oauth_signature_method
%3DHMAC-SHA1%26oauth_timestamp%3D1286237782%26oauth_version
%3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dmy%2540password
%26x_auth_username%3Dme%2540somewhere.com




On Aug 30, 7:17 am, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi Joe,

 Email can be accepted, as long as it is properly encoded. A URL encoded POST
 body by definition means that you'll already have to escape characters like
 the @ symbol for your POST body -- then for your signature base string,
 it'll have to be encoded again.

 Most Twitter users sign in with their screen name and password. Do you have
 a use case where users are predominantly using their email address?

 Taylor

 On Mon, Aug 30, 2010 at 1:10 AM, joe joe.chan...@gmail.com wrote:
  Hi guys,

  I have a question about getting access token.
  Can I use email address as the username? When x_auth_username =
  x...@xxx.com, always a error msg returned: Failed to validate oauth
  signature and token. But if user input username, there is no problem
  at all.
  So can anybody tell whether email address is accepted? Thanks a lot.

  Joe

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

-- 
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: Is the authorized user count for apps still available?

2010-10-05 Thread Jon Colverson
Oh, thank you. I did try searching the list, but didn't come up with
the right query to find it. I guess I'll go look into app analytics!

Thanks again.

--
Jon

On Oct 5, 7:01 pm, Thomas Mango tsma...@gmail.com wrote:
 Hey, Jon. This was actually just answered 
 recently:http://groups.google.com/group/twitter-development-talk/browse_thread...

 Basically, no it isn't readily available anymore and it would be better
 to track it yourself.

 Jon Colverson wrote:
  Hello.

  I remember seeing somewhere a stat showing how many users had
  authorized API access for my app, but I can't seem to find it anymore.
  Is this number no longer available, or is it still there and I'm a
  dunce for not being able to find it?

  Thanks.

  --
  Jon

 --
 Thomas Mango
 tsma...@gmail.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] @Anywhere communicate with PHP OAuth

2010-10-05 Thread Krileon
I've been reading that it is planned, but is it ever going to happen?
Facebook does hits, Google Friend Connect does this (subsequently
provides Twitter login as well through their API), so why can't
twitters own API? Just pass a authorized key and secret with the
cookie so we can through it through the OAuth request. This is making
it an absolute nightmare to provide single sign-on for Twitter users
as can be done with Facebook connect. 99% sites out there can't only
superficially log users in with JS prettiness. They need to be
stored inside the database so access permissions and what have you may
function.

-- 
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] Creating a list without description silently fails (on website as wel as using API

2010-10-05 Thread Bert Lagaisse
Whenever I create a list, using the twitter.com website, or using the
api, and I dont' give a description (which is marked optional in the
api), then the list is not created. However, there is no error
message.
This bug can only have been introduced in the last weeks I think.

Any one else with 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


Re: [twitter-dev] @Anywhere communicate with PHP OAuth

2010-10-05 Thread Abraham Williams
The functionality is there just not officially supported.

http://blog.abrah.am/2010/09/using-twitter-anywhere-bridge-codes.html

Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
Update: http://blog.abrah.am/2010/10/organizing-my-life.html
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.



On Tue, Oct 5, 2010 at 12:39, Krileon krile...@gmail.com wrote:

 I've been reading that it is planned, but is it ever going to happen?
 Facebook does hits, Google Friend Connect does this (subsequently
 provides Twitter login as well through their API), so why can't
 twitters own API? Just pass a authorized key and secret with the
 cookie so we can through it through the OAuth request. This is making
 it an absolute nightmare to provide single sign-on for Twitter users
 as can be done with Facebook connect. 99% sites out there can't only
 superficially log users in with JS prettiness. They need to be
 stored inside the database so access permissions and what have you may
 function.

 --
 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: Creating a list without description silently fails (on website as wel as using API

2010-10-05 Thread Ken D.
Nice find! This is recent, a day or two.

There is confusion elsewhere in the doc regarding optional parameters,
For example, in DELETE :user/lists/:id, id is said to be optional.

If this also fails in the Twitter UI there is hope that it will be
fixed soon.

For now Bert, this bug is yours:
http://code.google.com/p/twitter-api/issues/entry

Ken

On Oct 5, 10:08 pm, Bert Lagaisse bert.lagai...@virtual-remote.com
wrote:
 Whenever I create a list, using the twitter.com website, or using the
 api, and I dont' give a description (which is marked optional in the
 api), then the list is not created. However, there is no error
 message.
 This bug can only have been introduced in the last weeks I think.

 Any one else with 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] URL parameters

2010-10-05 Thread MigueL DíaZ
Hi all,

I'm developing a twitter client app and I'm trying to find out how do I
navigate through the timeline.

I've implemented oauth and have a lot of methods working, including
retrieving the timeline.

A call to http://api.twitter.com/1/statuses/home_timeline.json gives me the
first 20 tweets, but I want to know if it's possible to get, for instance,
the next 20.

I've tried with:

http://api.twitter.com/1/statuses/home_timeline.json?count=40
http://api.twitter.com/1/statuses/home_timeline.json?max_id=26488109595

But I always receive 401 Unauthorized... So I guess I'm messing it up with
my base string to sign...

How should the base string look when the url has extra paramenters?

Regards!
Miguel.

-- 
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: can email be accepted when using OAuth?

2010-10-05 Thread Tom van der Woerdt
I just did a quick check in my own application, it failed. So, unless
Taylor, Matt or John says otherwise, you should consider the definite
answer to be a No.

Tom


On 10/5/10 11:25 PM, Gary wrote:
 Hi Tom,
 
 These are the base strings with fictitious username, password and
 consumer key and so they will not pass through the validator.  I have
 checked the actual base strings and they check-out ok.
 
 Anyway, what I'm looking for is a definite yes or no as to whether
 email addresses-login is supported or not.  Is there somewhere I could
 get this info?
 
 Thanks,
 Gary
 
 
 On Oct 5, 12:27 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 Those aren'tbasestrings.

 Use the OAuthBaseString validator @ http://quonos.nl/oauthTester/

 By the way: I'm not sure about logging in with E-Mail addresses. It may
 work, and it may not.

 Tom

 On 10/5/10 8:27 PM, Gary wrote:

 Hi,

 I'm also having this problem.  I cannot login using the user'semail.
 AFAIK, I am encoding according to the documentation.  I encode the
 post body and then encode again when I create thesignaturebase
 string.

 Assume:
 screen name: myscrname
 password: m...@password--- note I added @ to the password just
 to see if there was something about @ which was causing the problem
 email: m...@somewhere.com

 ===
 Using the screen name to login works fine:

 Post body
 ---
 x_auth_mode=client_authx_auth_password=my
 %40passwordx_auth_username=myscrname

 Sigbasestring
 --
 oauth_consumer_key%3Da%26oauth_nonce
 %3D3u988u37Acy3GkQWd6tJKrY3fPTefe2QYIL2WXb1R3gWP
 %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
 %3D1286237702%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
 %26x_auth_password%3Dmy%2540password%26x_auth_username%3Dmyscrname

 ===
 Using theemailto login fails:

 Post body
 ---
 x_auth_mode=client_authx_auth_password=my
 %40passwordx_auth_username=me%40somewhere.com

 Sigbasestring
 --
 oauth_consumer_key%3Da%26oauth_nonce
 %3Dwwsim7hj1bfMylHARpmLwQerWjJJu4Y7kgzz8jCdY3Cv6%26oauth_signature_method
 %3DHMAC-SHA1%26oauth_timestamp%3D1286237782%26oauth_version
 %3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dmy%2540password
 %26x_auth_username%3Dme%2540somewhere.com

 On Aug 30, 7:17 am, Taylor Singletary taylorsinglet...@twitter.com
 wrote:
 Hi Joe,

 Emailcan be accepted, as long as it is properly encoded. A URL encoded POST
 body by definition means that you'll already have to escape characters like
 the @ symbol for your POST body -- then for yoursignaturebasestring,
 it'll have to be encoded again.

 Most Twitter users sign in with their screen name and password. Do you have
 a use case where users are predominantly using theiremailaddress?

 Taylor

 On Mon, Aug 30, 2010 at 1:10 AM, joe joe.chan...@gmail.com wrote:
 Hi guys,

 I have a question about getting access token.
 Can I useemailaddress as the username? When x_auth_username =
 x...@xxx.com, always a error msg returned: Failed to validate oauth
 signatureand token. But if user input username, there is no problem
 at all.
 So can anybody tell whetheremailaddress is accepted? Thanks a lot.

 Joe

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

-- 
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: can email be accepted when using OAuth?

2010-10-05 Thread Gary
Here are the post body and base strings where the fictitious
credentials are cooked into the base string so it should pass the
validator:

x_auth_mode=client_authx_auth_password=my
%40passwordx_auth_username=me%40somewhere.com

POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
%2Faccess_tokenoauth_consumer_key%3D8Oe4VT3GUKwyfMfB4LfQ9h
%26oauth_nonce
%3DmEd5z1pdth4fAIZ7BQdamQOKkVOqmOYerp6oR2ChhsdB8%26oauth_signature_method
%3DHMAC-SHA1%26oauth_timestamp%3D1286314415%26oauth_version
%3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dmy%2540password
%26x_auth_username%3Dme%2540somewhere.com




On Oct 5, 12:27 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 Those aren'tbasestrings.

 Use the OAuthBaseString validator @ http://quonos.nl/oauthTester/

 By the way: I'm not sure about logging in with E-Mail addresses. It may
 work, and it may not.

 Tom

 On 10/5/10 8:27 PM, Gary wrote:

  Hi,

  I'm also having this problem.  I cannot login using the user'semail.
  AFAIK, I am encoding according to the documentation.  I encode the
  post body and then encode again when I create thesignaturebase
  string.

  Assume:
  screen name: myscrname
  password: m...@password        --- note I added @ to the password just
  to see if there was something about @ which was causing the problem
 email: m...@somewhere.com

  ===
  Using the screen name to login works fine:

  Post body
  ---
  x_auth_mode=client_authx_auth_password=my
  %40passwordx_auth_username=myscrname

  Sigbasestring
  --
  oauth_consumer_key%3Da%26oauth_nonce
  %3D3u988u37Acy3GkQWd6tJKrY3fPTefe2QYIL2WXb1R3gWP
  %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
  %3D1286237702%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
  %26x_auth_password%3Dmy%2540password%26x_auth_username%3Dmyscrname

  ===
  Using theemailto login fails:

  Post body
  ---
  x_auth_mode=client_authx_auth_password=my
  %40passwordx_auth_username=me%40somewhere.com

  Sigbasestring
  --
  oauth_consumer_key%3Da%26oauth_nonce
  %3Dwwsim7hj1bfMylHARpmLwQerWjJJu4Y7kgzz8jCdY3Cv6%26oauth_signature_method
  %3DHMAC-SHA1%26oauth_timestamp%3D1286237782%26oauth_version
  %3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dmy%2540password
  %26x_auth_username%3Dme%2540somewhere.com

  On Aug 30, 7:17 am, Taylor Singletary taylorsinglet...@twitter.com
  wrote:
  Hi Joe,

 Emailcan be accepted, as long as it is properly encoded. A URL encoded POST
  body by definition means that you'll already have to escape characters like
  the @ symbol for your POST body -- then for yoursignaturebasestring,
  it'll have to be encoded again.

  Most Twitter users sign in with their screen name and password. Do you have
  a use case where users are predominantly using theiremailaddress?

  Taylor

  On Mon, Aug 30, 2010 at 1:10 AM, joe joe.chan...@gmail.com wrote:
  Hi guys,

  I have a question about getting access token.
  Can I useemailaddress as the username? When x_auth_username =
  x...@xxx.com, always a error msg returned: Failed to validate oauth
 signatureand token. But if user input username, there is no problem
  at all.
  So can anybody tell whetheremailaddress is accepted? Thanks a lot.

  Joe

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

-- 
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] is it required to include call classes

2010-10-05 Thread nidhi
Do we need to add all the classes and folder provided in Twitter+Outh
just to post message in iphone application. Can we have some other way
where i need not to include all the classes.

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] API Search Method: Question on since operator

2010-10-05 Thread Satish
Hi,

In the search API, the documentation says the since operator returns
a HTTP 404 error if it is too old.

How to determine if a date is too old for searching? In general, up to
what date in the past will the API returns data?

Thanks
Satish

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