Re: [twitter-dev] Change in error response objects

2010-08-31 Thread Marc Mims
I'm seeing these error responses on other endpoints, now. Here's the result of an OAuth authenticated request for friends_ids: {"errors":[{"code":53,"message":"Basic authentication is not supported"}]} Then verify_credentials Authenticating as the same user: {"request":"/1/account/verify_credenti

[twitter-dev] Twitter Authentication

2010-08-31 Thread Pradeep Senanayake
Hi, Im using TwitterMe api for my mobile application, I registered my application in twitter and got the consumer key and the secret key. The problem Im having is after I post a twit it gives an exception which tells "javax.microedition.pki.CertificateException: Subject alternative name did not m

[twitter-dev] How to use Oauth tokens

2010-08-31 Thread nishith83
Hi All, We have one specific requirement to use Twitter APIs as direct url calls. Before OAuth, it was simpler as only the arguments needs to be appended. After the OAuth transition, we got the necessary tokens from twitter. And also since our application is a single user type, we also got the sp

[twitter-dev] Authenticate to retrieve a tweet?

2010-08-31 Thread bretth
Hi, I hope someone can clarify a few things for me please I need to retrieve individual tweets via some sort of backend api/rss/ xml -ish web service for a website that I'm building. I can do the searching for hashtags/keywords etc fine; but I'm having trouble getting the contents of individual t

[twitter-dev] Twitter oAuth

2010-08-31 Thread Edward J. Yoon
Is it still possible to login using username/password? then, how can I program it? -- Best Regards, Edward J. Yoon edwardy...@apache.org http://blog.udanax.org -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Iss

[twitter-dev] A day wasted trying to get public feed is OAuth the issue?

2010-08-31 Thread jmargey
Hi all, My first day working on a twitter app, basically I have a web page that displays a public feed from a celeb. I am calling http://twitter.com/statuses/user_timeline/celebname.json and then using jquery to display the feed. Now I know the json exists because if I paste the url above in the b

[twitter-dev] On Settings->Connections

2010-08-31 Thread SGarg
It might help to, 1) Port *"Settings -> Connections"* to Main Page as *"My Applications"* and 2) Use easier terms like *"Disconnect"* or *"Logout"* than *"Revoke Access"* This will help people keep their oauthed apps up-to-date. SGarg -- Twitter developer documentation and resources: http://d

[twitter-dev] http://twitter.com/statuses/user_timeline/adaptuqa.json?count=5&rand=8942 and basic authentication popup

2010-08-31 Thread Vijay
Hi, I am trying to use this http://twitter.com/statuses/user_timeline/adaptuqa.json?count=5&rand=8942 for getting statuses from my twitter web app and I keep getting this Basic Authentication popup to enter my userid/pwd.I can type in the url http://twitter.com/statuses/user_timeline/adaptuqa.jso

Re: [twitter-dev] retweeted variable in home timeline

2010-08-31 Thread Matt Harris
Hey p r, The retweeted status is currently disabled whilst we look into some issues with it. At the moment the best way to know if a Tweet has been retweeted by you is to call /statuses/retweeted_by_me and compare the status IDs with those in your home timeline. More information on retweeted_by_m

Re: [twitter-dev] Re: a new field "retweeted" and retweeted tweet's status id

2010-08-31 Thread Matt Harris
Thanks, it's been noted and added to our things to discuss when we next look for enhancements. Best, Matt On Tue, Aug 31, 2010 at 4:10 AM, hiro wrote: > Hi Matt, > > Thank you very much for you advice. > > I've posted an issue as > http://code.google.com/p/twitter-api/issues/detail?id=1834 > > Be

Re: [twitter-dev] Tweet button share box language

2010-08-31 Thread Matt Harris
Hey, This seems to be a bug as the share box does have translations. Can you file this in our bug tracker so it doesn't get lost and then I can file it with the team, thanks: http://code.google.com/p/twitter-api/issues/list Best, Matt On Tue, Aug 31, 2010 at 12:20 AM, semdornus wrote: > He

[twitter-dev] Re: getStatusesMentions not working today....???

2010-08-31 Thread jmathai
Depending on what version of the library you're using it may default to asynchronous mode. try print_r($mentions->response); On Aug 30, 8:44 pm, mirza wrote: > hello my name is mirza. > > im new in develop twitter application. i think i have same problem. > i want to get user mentions using get_

Re: [twitter-dev] xAuth not Working (Help)

2010-08-31 Thread Matt Harris
Hey João, The signing key is the concatenation of the consumer_secret&user_secret. If you don't have a user_secret the signing key will be consumer_secret&. A couple of examples consumer_secret: 1234 user_secret: signing_key: 1234& consumer_secret: 1234 user_secret: 5678 signing_key: 1234&

Re: [twitter-dev] Can someone give a PHP change background with Oauth Example

2010-08-31 Thread Matt Harris
Hey V, There is an example of how to do this in my PHP library: http://github.com/themattharris/tmhOAuth Check the examples folder to see ways to make it work. The one you will be interested in is called images.php Hope that helps, Matt On Tue, Aug 31, 2010 at 3:08 PM, vanleurth wrote: > Y

[twitter-dev] On the demise of basic authentication.

2010-08-31 Thread Taylor Singletary
*GOODBYE BASIC AUTH* On Tuesday, August 31st 2010 at 16:26:13 UTC, @raffi of @twitterapi/team pressed "the button" that shut basic auth down for good: >> set :rate_limit_api_basic_auth, 0 ; puts Time.now Tue Aug 31 16:26:13 + 2010 => nil @raffi - http://twitter.com/twitterapi/status/226

[twitter-dev] Can someone give a PHP change background with Oauth Example

2010-08-31 Thread vanleurth
Yeap !! With the recent changes to the api my website doesn't work anymore. I wonder if I can get a piece of PHP code explaining how to change the background using Twitter OAuth Thank you V. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: ht

[twitter-dev] Re: Need help with MGTwitterEngine & OAuth/xAuth

2010-08-31 Thread metawops
Hi Felix, thanks so much! Works now!! :-)) Have to read (even) more about memory management in Objective-C! But never would have found out about the 64bit vs. 32bit issue I think. So thanks for pointing that out!! Stefan. On Aug 31, 11:35 am, Felix wrote: > Hi, > > 1. Replace > twitterEngine =

[twitter-dev] Re: Authentication Required on Public user_timeline

2010-08-31 Thread David "Markus" Hasselberg
That would make sense. Thank you for your help. On Aug 31, 4:09 pm, Taylor Singletary wrote: > We think we've identified this bug -- when you've run out of your 150 > requests per hour limits on a public resource, instead of giving you the > "rate limited" error -- we're throwing you an authentic

Re: [twitter-dev] xAuth not Working (Help)

2010-08-31 Thread João Paulo Sabino de Moraes
thanks taylor, I'm using a newer as3 api, and lookint at its sorces I saw how to get oauth_signature only for oauth authentication and I'm trying to adapt it to xAuth. I think my only problem is the way I'm calculating oauth_signature based on hmac as you can see at the 2 lines below va

[twitter-dev] Re: OAuth rate limit of 150

2010-08-31 Thread Roger Ertesvåg
Hi Matt, thanks for your thorough response. So I assume this rate limit would be IP based then? I did some tests and got different rate limits on the server and on my development machine, which seems to support your theory that I'm not authenticated properly. After some more testing it seems that

[twitter-dev] query complexity, limiting the number of terms

2010-08-31 Thread Mars
I'm getting "query is too complex" errors (see example below) & will begin limiting the complexity of my formulated query. Are there known/published limits to the number of "q=" terms the search API will support? In my experience so far, it seems 10 terms is the limit. Anyone know more specifical

Re: [twitter-dev] Re: Authentication Required on Public user_timeline

2010-08-31 Thread Taylor Singletary
We think we've identified this bug -- when you've run out of your 150 requests per hour limits on a public resource, instead of giving you the "rate limited" error -- we're throwing you an authentication challenge instead. We're continuing to investigate and will update everyone when the status cha

[twitter-dev] Re: Authentication Required on Public user_timeline

2010-08-31 Thread David "Markus" Hasselberg
Thank you for your reply. Shortly after i submitted my question, it started working, but it was not working two hours today, from about 12:00 pm (possibly earlier) to 2:00 pm/ The URL i was requesting was http://api.twitter.com/1/statuses/user_timeline.json?callback=jsonp1283284871369&screen_name

[twitter-dev] Re: Twitter for Android app & OAuth

2010-08-31 Thread Jef Poskanzer
On Aug 31, 12:46 pm, Matt Harris wrote: > Like many mobile applications Twitter for Android uses xAuth. In this > mode the user enters their username and password which is then sent to > Twitter for the OAuth credentials. Part of the agreement of granting > access to xAuth is that the applicatio

Re: [twitter-dev] Re: Cron Jobs w/ twitter auth

2010-08-31 Thread Matt Harris
Hey Mahmoud, Glad it's all working for you now. Matt On Tue, Aug 31, 2010 at 11:50 AM, Mahmoud Sakr wrote: > Thanks a lot, I was able to port my auth successfully using the second > link. > > Just a heads up for anyone interested - this mechanism was described > here in depth: > http://masnun.c

Re: [twitter-dev] Twitter for Android app & OAuth

2010-08-31 Thread Matt Harris
Hey Jef, Like many mobile applications Twitter for Android uses xAuth. In this mode the user enters their username and password which is then sent to Twitter for the OAuth credentials. Part of the agreement of granting access to xAuth is that the application must not store the username and passwor

[twitter-dev] Twitter for Android app & OAuth

2010-08-31 Thread Jef Poskanzer
Twitter's official Android app is obviously using OAuth, since it still works. So why does it ask for my password? Isn't it supposed to send me to a web page where I can click Ok? What is going on behind the scenes here? Maybe just some leftover Basic Auth code that hasn't been deleted yet? If s

Re: [twitter-dev] Authentication Required on Public user_timeline

2010-08-31 Thread Taylor Singletary
As long as you are requesting from the correct end point: http://api.twitter.com/1/statuses/public_timeline.xml (or .json) without any authentication credentials, this should continue working for you. If it isn't, could you provide HTTP traces of your entire connection sequence, complete with the

[twitter-dev] Re: Cron Jobs w/ twitter auth

2010-08-31 Thread Mahmoud Sakr
Thanks a lot, I was able to port my auth successfully using the second link. Just a heads up for anyone interested - this mechanism was described here in depth: http://masnun.com/blog/2010/04/30/setting-up-twitter-bots-with-oauth/ (turns out my twitter account is called a twitter bot.) Also, the

[twitter-dev] Re: Apigee Support for OAuth--

2010-08-31 Thread earth2marsh
Hi Daniel, Heroku was our first public partnership, but Apigee was actually built to work with all kinds of services and environments. We're continuing to build out our add-on so that users can access the Debugger, the Test Console, and Analytics from within the Heroku interface. You should have

Re: [twitter-dev] Re: OAuth rate limit of 150

2010-08-31 Thread Matt Harris
Hey Roger, Thanks for sharing your code. A few things about the rate limits you are seeing: The 150 rate limit is for non-authenticated requests to the Twitter API. These requests happen when no user identifying details are sent. The 350 rate limit is for OAuth authenticated requests to the Twitt

[twitter-dev] Authentication Required on Public user_timeline

2010-08-31 Thread David "Markus" Hasselberg
I have developed a webpage that reads from a public user_timeline. Starting today, August 31st, i receive error 53 "Basic authentication is not supported." I understand that OAuth is now used instead of HTTP authentication, but public timelines should still not require any authentication, correct?

[twitter-dev] Re: Since Id on Favourites (recap)

2010-08-31 Thread Daniel Ribeiro
Great. I really appreciate it. On Aug 30, 9:59 pm, Matt Harris wrote: > Hey Daniel, > > Thanks for pointing this out. I've reopened the original ticket > indicating this needs documenting: >    http://code.google.com/p/twitter-api/issues/list?cursor=125 > > Thanks, > Matt > > > > On Fri, Aug 27,

[twitter-dev] Re: Apigee Support for OAuth--

2010-08-31 Thread Daniel Ribeiro
I got to know Apigee this (http://blog.heroku.com/archives/2010/5/27/ apigee_add_on_for_twitter_public_beta/) Heroku newsletter, when they announced the Apigee for Twitter Add-on. Apigee's console has been an incredible tool for tinkering and learning more about with twitter's api. The biggest iss

[twitter-dev] Oauth Apps return "Woah there! This page is no longer valid."

2010-08-31 Thread m2e
Our apps keep getting: - Woah there! This page is no longer valid. It looks like someone already used the token information you provided. Please return to the site that sent you to this page and try again … it was probably an honest mistake. - We are using

Re: [twitter-dev] Status update results in Internal server error 500

2010-08-31 Thread Taylor Singletary
Hi Papa Coen, While it's unusual that you got a 500 in this case (and are you consistently getting a 500), I'd like to verify that you're encoding your POST body before sending. Your POST body should be simply: status=setting%20up%20my%20twitter%20hoot Which should be represented in your OAuth s

Re: [twitter-dev] How to get results older than last 100 tweets from a profile or search

2010-08-31 Thread Pablo Augusto
Thanks for the reply. I just tested and its ok, but only can ger results to 2010-08-28 from now. Hav any way to workarround this? //return null is lower than 28º day $request = " http://search.twitter.com/search.atom?q=from:user+keyword+since:2010-08-27&rpp=100&page= ".$j; One question. Any one

Re: [twitter-dev] xAuth not Working (Help)

2010-08-31 Thread Taylor Singletary
By revealing your consumer secret in this forum, especially for a key that has access to xAuth, you've basically compromised your application and the potential security of many -- your consumer secret should be kept safe and outside of public visibility. It's still a necessary component for you to

Re: [twitter-dev] xAuth not Working (Help)

2010-08-31 Thread João Paulo Sabino de Moraes
Thanks for Replying Guys! Taylor, Why was it necessary to generate generate other keys ? And Tom (or Taylor) I'm using consumerSecret because at session : "Example request for an xAuth request token", this key is listed in the request keys. So, is this example "depracated" ? Another doubt. After

[twitter-dev] Status update results in Internal server error 500

2010-08-31 Thread Papa.Coen
Title says it all. Sniffed with wireshark: POST /1/statuses/update.json HTTP/1.1 Content-Type: text/xml; charset=utf-8 User-Agent: RTL Netherlands OAuth 0.1 Authorization: OAuth oauth_consumer_key="I1yQDPyI7WUn2fN9JfFWww", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1283260843", oauth_non

[twitter-dev] retweeted variable in home timeline

2010-08-31 Thread p r
Hello, i receive per api my timeline and i want to show when the tweets retweeted by me. But the variable retweeted in every status is always empty. What is wrong, has everyone similar experiences? greetings -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates

[twitter-dev] Re: Need help with MGTwitterEngine & OAuth/xAuth

2010-08-31 Thread Felix
Hi, 1. Replace twitterEngine = [[MGTwitterEngine twitterEngineWithDelegate:self]; with twitterEngine = [[[MGTwitterEngine twitterEngineWithDelegate:self] retain]; in init of the TestControllers. 2. build the 32-bit version. 64-bit seems not to be supported. best regards, Felix. -- Twitter deve

[twitter-dev] Re: a new field "retweeted" and retweeted tweet's status id

2010-08-31 Thread hiro
Hi Matt, Thank you very much for you advice. I've posted an issue as http://code.google.com/p/twitter-api/issues/detail?id=1834 Best regards, hiro On 8月31日, 午前9:03, Matt Harris wrote: > Hi hiro, > > The ID of the retweeted status will not be available through these new > fields. Instead you sh

Re: [twitter-dev] Re: Streaming api returning 401 error on phrase tracking(logical AND)

2010-08-31 Thread Tom van der Woerdt
On 8/31/10 8:01 AM, Karthik K wrote: > for example: > > trackwords: {"starwars","obama"} > authorization with username,password: working > using oauth :working > > trackwords: {"star wars","obama"} > authorization with user name,password: working > using oauth i get 401 error > > Thanks, > Karth

Re: [twitter-dev] verify_credentials longevity?

2010-08-31 Thread Dave Ingram
It's also used for OAuth Echo, if I'm not mistaken? D On 08/31/10 01:21, Matt Harris wrote: > Hey Jud, > > There are no plans to deprecate verify_credentials. It's use is still > valid for OAuth as it allows you to check if the user token and secret > you have are still good. > > Best, > Matt

[twitter-dev] Re: Open Source CMS Module and Consumer Secret

2010-08-31 Thread Ken
oops. really, I had thought this through but got carried away with the 'transparent installation' idea. During the installation, the user would authenticate (via the software provider or directly with twitter?) - and then be delivered the credentials. Sorry. On Aug 31, 10:58 am, Ken wrote: > It

[twitter-dev] Re: Open Source CMS Module and Consumer Secret

2010-08-31 Thread Ken
It seems that we are talking about two categories of applications. 1.) As in the subject of this thread, open-source CMS or other multi- user, membership or blogging systems. This type of system usually has some facility for the admin user/webmaster to change settings such as admin email address,

[twitter-dev] Re: Need help with MGTwitterEngine & OAuth/xAuth

2010-08-31 Thread metawops
P.S.: Here's a link to the Xcode project with the little test program: http://dl.dropbox.com/u/3748223/MGTEtest.zip On 31 Aug., 00:13, metawops wrote: > Hi everyone, > > I’m struggling with MGTwitterEngine & OAuth/xAuth here with my Mac OS > X application. > The problem is that I get either SIGTR

[twitter-dev] Tweet button share box language

2010-08-31 Thread semdornus
Hello, The new Tweet button has the "lang" parameter to specify the language for the button. This however only works for the button text; the share box that pops up is always in English. Is there a time line for when this page will be localized as well? Thank you. -- Twitter developer documenta

[twitter-dev] Re: OAuth rate limit of 150

2010-08-31 Thread Roger Ertesvåg
Hi, I'm using the ruby twitter gem: http://github.com/jnunemaker/twitter So to set it up I do: oauth = Twitter::OAuth.new(CONFIG['twitter_key'], CONFIG['twitter_secret']) oauth.authorize_from_access(CONFIG['twitter_atoken'], CONFIG['twitter_asecret']) base = Twitter::Base.new(oauth)

[twitter-dev] Please help: Easy way to do Oauth/xAuth from VBA?

2010-08-31 Thread Timo
Hi, I have an application that posts tweets automatically from PowerPoint each time a presenter gets to a particular slide: It's a relatively simple VBA script that uses basic authentication (until tomorrow, when it gets turned off!) . Because it's a full- client application, I requested, and obt

[twitter-dev] Re: getStatusesMentions not working today....???

2010-08-31 Thread mirza
hello my name is mirza. im new in develop twitter application. i think i have same problem. i want to get user mentions using get_statusesMentions(). i use epitwitter library. but the status result is empty. i dont know why. here is my code. $this->epiTwitter = new EpiTwitter($consumer->key,$con

[twitter-dev] Streaming api returning 401 error on phrase tracking(logical AND)

2010-08-31 Thread Karthik K
I am getting strange results when using streaming api with and without Oauth. Without oauth i am able to track phrases whereas with oauth i get a 401 error, able to track normal words with oauth.Is there any restriction on phrase tracking? Could not find any pointers in the docs.btw i use twitter4j

[twitter-dev] Re: Streaming api returning 401 error on phrase tracking(logical AND)

2010-08-31 Thread Karthik K
for example: trackwords: {"starwars","obama"} authorization with username,password: working using oauth :working trackwords: {"star wars","obama"} authorization with user name,password: working using oauth i get 401 error Thanks, Karthik -- Twitter developer documentation and resources: http:/

Re: [twitter-dev] Re: 401 errors calling access_token

2010-08-31 Thread Matt Harris
Great, thanks. Just wanted to check. Matt On Mon, Aug 30, 2010 at 9:55 PM, Marc Mims wrote: > * Matt Harris [100830 16:37]: >> Did you get a chance to send this information through to our support team? > > Yes, Matt.  Instead of doing a list reply, I replied directly to Taylor > Singletary with

Re: [twitter-dev] Re: Why only getting 4 results back?

2010-08-31 Thread Matt Harris
If the users profile is public and you are displaying it on your website using Javascript then everything should be fine. The Profile Widget is designed to go on webpages to provide a timeline of a users Tweets. The only thing it doesn't do is support retweets. If the profile widget doesn't do wha

Re: [twitter-dev] Cron Jobs w/ twitter auth

2010-08-31 Thread Matt Harris
Hey Mahmoud, Your code will stop working when Basic Auth is turned off so you will need to change to using OAuth. You may find the following resources helpful in explaining how you can do that: Converting from Basic Auth to OAuth: http://dev.twitter.com/pages/basic_to_oauth Using a single access

Re: [twitter-dev] 500: "Something is technically wrong" while calling lists/memberships

2010-08-31 Thread Matt Harris
Hey Joachim, Could you give a full example of the request you made, the response headers and response body so we can look into this further. Thanks, Matt On Mon, Aug 30, 2010 at 1:38 AM, Joachim Seibert wrote: > Lately there are from time to time errors when calling > /lists/memberships.json. >

Re: [twitter-dev] How to validate twitter username in PHP?

2010-08-31 Thread Matt Harris
One way you could do this is to call /users/show. If the user exists their details will be returned, if not, you will get a 404 or 403 error (Suspended users are returned as a 403 error). You can find out more about /users/show on our developer resources site: http://dev.twitter.com/doc/get/use

Re: [twitter-dev] Whether there is any problem with Twitter api currently?

2010-08-31 Thread Matt Harris
Hey, Are you still unable to get OAuth tokens? If so can you provide the code you are using to get the token so we can try and debug. Thanks, Matt On Sat, Aug 28, 2010 at 8:45 AM, Ramanean wrote: > For all of my sites I am not getting Oauth token.. > > http://www.twitlan.com/ > > and http://www.

Re: [twitter-dev] Re: home_timeline request fails after deleting a tweet

2010-08-31 Thread Matt Harris
I spoke with some of the engineers who had seen some behavior like this. Some code was deployed this morning which should have improved this. Can you let me know if you are still seeing this behavior? Thanks, Matt On Fri, Aug 27, 2010 at 8:16 AM, jsleuth wrote: > Hi Matt, > > Thanks for looking

Re: [twitter-dev] Friends

2010-08-31 Thread Matt Harris
Hey, I'm not sure which library you are using here, could you explain the language you are using and a link to the library so we can help debug. Thanks, Matt On Thu, Aug 26, 2010 at 2:23 PM, garyz wrote: > Is anyone else having problem with TwitterOauth and friends? > > I'm trying to create fri