Re: [twitter-dev] api documation, the context is ok? while my app tweet error?

2010-09-13 Thread 玉柱九天
thank you firstly. yes, some GET requests work normal, such as GET friend_timeline, but the base url is not like http://api.twitter.com/*version* /statuses/friends_timeline.*format*, and it is like http://twitter.com/statuses/friends_timeline.xml; or http://twitter.com/timeline;. now my

Re: [twitter-dev] iPhone::Incorrect oauth_signature for xAuth?

2010-09-13 Thread Tom van der Woerdt
Hi Nikolay, The first part of your code looks fine. You may, however, like to do some debugging on the HMAC part - it looks a bit too simple to me. This works : NSString *compKey = [NSString stringWithFormat:@%@%@,secret,userSecret]; const char *cKey = [compKey

[twitter-dev] What is the status of profile image changes via API?

2010-09-13 Thread Raghu Prasad
Hi! Twitter Devs, The profile image update via API is still not working in my test environment. Is there any end date planned to fix this bug? Can anyone confirm that they are able to update their profile image via API using OAuth? BTW, up to a couple of months back, my code for doing this was

[twitter-dev] Re: iPhone::Incorrect oauth_signature for xAuth?

2010-09-13 Thread Nikolay Klimchuk
Thank you Tom I will try your algorithm and compare results. Quick question: why you do this [str substringToIndex:[str length]-3] ? Nikolay Klimchuk On Sep 13, 2:46 am, Tom van der Woerdt i...@tvdw.eu wrote: Hi Nikolay, The first part of your code looks fine. You may, however, like to do

Re: [twitter-dev] Re: iPhone::Incorrect oauth_signature for xAuth?

2010-09-13 Thread Tom van der Woerdt
Oh, hehe, good point. That's because my Base String has one extra urlencoded '' on the end, and that shouldn't be there. Tom On Mon, 13 Sep 2010 04:18:06 -0700 (PDT), Nikolay Klimchuk klimc...@gmail.com wrote: Thank you Tom I will try your algorithm and compare results. Quick question: why

[twitter-dev] Re: Is there stats for API clients usage?

2010-09-13 Thread rhysmeister
Try this... http://twittersource.info/ On Sep 12, 7:56 pm, D. Smith emai...@sharedlog.com wrote: Hello! I know Twitter published some statistics on how users generally use Twitter. I am looking for per-app stats, at least for the top 100 or so apps. Is there a stat like this available

Re: [twitter-dev] twurl error… I think

2010-09-13 Thread Tom van der Woerdt
Sounds like a firewall error. You should check your firewalls etc to allow api.twitter.com. Tom On Mon, 13 Sep 2010 08:04:37 -0400, TJ Luoma luo...@gmail.com wrote: Can anyone explain what this output from twurl is trying to tell me? $ twurl -t /1/statuses/user_timeline/amazondeals.rss

[twitter-dev] XAuth signature error

2010-09-13 Thread Double K
hi, my name is Kim. I will make XAuth module. So i need developer help. i make signature base string for example POSThttps%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_tokenoauth_consumer_key%3DsGNxxnqgZRHUt6NunK3uw %26oauth_nonce%3DWLxsobj4rhS2xmCbaAeT4aAkRfx4vSHX4OnYpTE77hA

[twitter-dev] Re: Opción para mostrar twitters

2010-09-13 Thread arturogarrido
Puedes usar listas, no tienes que seguir a las personas que esten en la lista. Saludos, Arturo Garrido Twitea.me -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker:

[twitter-dev] Using Tweetbox on authorized callback domains not working

2010-09-13 Thread Kat
I have placed a tweetbox onto a site here: http://www.ivaluethearts.org.uk/ I have also authorized 'http://ivaluethearts.org.uk/' as a Registered Callback URL. But attempting to use the tweetbox from this url results in a The provided callback url http://ivaluethearts.org.uk/ is not authorized

[twitter-dev] xAuth token and secret not working for POST methods

2010-09-13 Thread nattu
Hi, I am using Twitter xAuth to get tokens (my application is approved for using xAuth). However the tokens do not have any write permissions, so I cannot use any API that requires POST. I am getting '401 Unauthorized' error when accessing the APIs which requires POST. Note that there are no

[twitter-dev] xAuth returning 401 error.

2010-09-13 Thread Josh Knowles
Hm. Still having troubles with my iPhone app -- when I try to post using xAuth, I get a 401 error. Twitter claims the app has xAuth access on their end. Not sure what to do... Anyone else experiencing this issue? Thanks! Josh Knowles http://auscillate.com -- Twitter developer documentation

[twitter-dev] Why is Basic Auth still enabled on some sources?

2010-09-13 Thread funkatron
Read on this post: http://blog.nelhage.com/2010/09/dear-twitter/ Tested just now: http://gist.github.com/577273 If I pass source=twitterandroid, it appears to work on all API methods. In light of basic auth being disabled, why does this work? -- Ed Finkler http://funkatron.com @funkatron AIM:

Re: [twitter-dev] What is the status of profile image changes via API?

2010-09-13 Thread CWorster
Hi Raghu, the profile image upload via API works fine. The new image is returned immediately. No caching issues. I'm using the PHP library from Matt Harris. http://github.com/themattharris/tmhOAuth -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via

Re: [twitter-dev] Entities display_url and expanded_url

2010-09-13 Thread Taylor Singletary
Hi Rich, You can't be guaranteed to always have a display_url (there will be many historical tweets without it, or perhaps the service that negotiates display_urls will be down), so you should code defensively, making use of them when they are present but choosing an alternate display method when

Re: [twitter-dev] XAuth signature error

2010-09-13 Thread Tom van der Woerdt
On 9/13/10 7:01 AM, Double K wrote: hi, my name is Kim. I will make XAuth module. So i need developer help. i make signature base string for example POSThttps%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_tokenoauth_consumer_key%3DsGNxxnqgZRHUt6NunK3uw

Re: [twitter-dev] What is the status of profile image changes via API?

2010-09-13 Thread Taylor Singletary
Hi Raghu, One thing I recommend checking is that you're using the supported URL scheme for API-based profile image uploads, http://api.twitter.com/1/account/update_profile_image.json If you're using that end point and still having trouble, it might be helpful to post the code you're using or a

Re: [twitter-dev] xAuth returning 401 error.

2010-09-13 Thread Tom van der Woerdt
On 9/13/10 1:16 PM, Josh Knowles wrote: Hm. Still having troubles with my iPhone app -- when I try to post using xAuth, I get a 401 error. Twitter claims the app has xAuth access on their end. Not sure what to do... Anyone else experiencing this issue? Thanks! Josh Knowles

[twitter-dev] XML hashtags missing

2010-09-13 Thread james.eats.wo...@gmail.com
Has twitter changed there output for xml ? below is one of the status that are returned through the request http://api.twitter.com/1/statuses/user_timeline.xml?include_entities=1screen_name=superbreaker which does have entities; hash tags specifically returned on several status. however none as

Re: [twitter-dev] XML hashtags missing

2010-09-13 Thread Taylor Singletary
Hi James, We still have some intermittent issues with entities returning consistently across tweets. We are working to fix this. I would also recommend using include_entities=true, even though =1 should work. Thanks, Taylor On Mon, Sep 13, 2010 at 8:20 AM, james.eats.wo...@gmail.com

[twitter-dev] Re: Entities display_url and expanded_url

2010-09-13 Thread Rich
Hi Taylor Thanks for the responds, thats great news. I pass the tweet through an automated linker and so I want to use expanded_url instead. When you visit the link it substitutes it back to the original url before it loads. So for the end user they don't see anything different at all. So if

[twitter-dev] Is gardenhose being ramped up?

2010-09-13 Thread Sanjay
I just took a look at my bandwidth usage from last night to see the effect of the VMAs (dramatic BTW), and thought I'd check it out over the last week. It looks like gardenhose has been ramping up since late Sept 10th/early Sept 11th. Is this intentional? Any idea where we're ending. My DB

[twitter-dev] Re: Why is Basic Auth still enabled on some sources?

2010-09-13 Thread Dewald Pretorius
They must have known that this was going to be discovered. We're developers. We like building, testing, and breaking stuff. Unequal applications of the rules. Happens all the time. Months after you've disabled something at the request of Twitter, you find well- known services that do exactly the

[twitter-dev] Re: Why is Basic Auth still enabled on some sources?

2010-09-13 Thread isaiah
The bonus is that it's a way to still use plain old curl for testing. Awesome! On Sep 13, 9:21 am, Dewald Pretorius dpr...@gmail.com wrote: They must have known that this was going to be discovered. We're developers. We like building, testing, and breaking stuff. Unequal applications of the

[twitter-dev] Re: Why is Basic Auth still enabled on some sources?

2010-09-13 Thread Jeff Gladnick
There was a very easy solution, IMHO, to the basic auth issue that I am surprised twitter didn't consider. 1) Add a new field to user profile settings that is Allow basic authentication for API. Set this to be false by default for all users. You can even set a scary message here discouraging

[twitter-dev] Re: iPhone::Incorrect oauth_signature for xAuth?

2010-09-13 Thread Nikolay Klimchuk
Still no luck With your code I'm gettings exactly the same result MUYmiobRdoK6s0ZVqo4xQNNO17w= Something really strange in example here http://dev.twitter.com/pages/xauth Nikolay Klimchuk On Sep 13, 7:19 am, Tom van der Woerdt i...@tvdw.eu wrote: Oh, hehe, good point. That's because my Base

Re: [twitter-dev] Re: iPhone::Incorrect oauth_signature for xAuth?

2010-09-13 Thread Tom van der Woerdt
2010-09-13 20:39:11.190 Test[56513:207] NSData *HMAC: 3146268a 86d17682 bab34655 aa8e3140 d34ed7bc 2010-09-13 20:39:11.191 Test[56513:207] NSString *HMAC64: MUYmiobRdoK6s0ZVqo4xQNNO17w= Looks like you're right :-) @episod: You should fix that! :-) Tom On 9/13/10 8:23 PM, Nikolay Klimchuk

[twitter-dev] Re: XAuth signature error

2010-09-13 Thread Nikolay Klimchuk
What algorithm you're using for hmac-sha1 and base64 I'm getting different oauth_signature for the xAuth test example http://dev.twitter.com/pages/xauth Nikolay Klimchuk On Sep 13, 1:01 am, Double K squel...@gmail.com wrote: hi, my name is Kim. I will make XAuth module. So i need developer

[twitter-dev] Missing entities in REST

2010-09-13 Thread Jesse
Hi, I'm trying to view my last tweet, but I can't seem to be able to see the Tweet Entities. Here is what I'm trying to view: http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=(redacted)count=1include_entities=t But I don't see the entities element. Any help would be appreciated

[twitter-dev] Re: Is gardenhose being ramped up?

2010-09-13 Thread Sanjay
John - yeah, I saw the increase from that bump previously but if you look at the graph I included, this current bump is greater still. Mind you, I'm not complaining just trying to understand what is going on. If this increase is short lived I won't try to design around it. If it's going to be

Re: [twitter-dev] Re: Is gardenhose being ramped up?

2010-09-13 Thread John Kalucki
I don't know what it could be. We took a spike during the VMAs, but that doesn't match with your data. I'd examine your connection logs to see if you were cycling excessively in the past, or dropping tweets due to parsing errors, or something of that sort... -John On Mon, Sep 13, 2010 at 11:42

[twitter-dev] Re: Privacy Policy Question

2010-09-13 Thread Brian Sutorius
As a developer of an application open for public use, it is a best practice to offer your own privacy policy on your website or within your application. At the very least, you must be clear about how you will use your users' account data and/or take actions on their behalf. This is mirrored in our

[twitter-dev] How to authorize from Client-Mobile-Application

2010-09-13 Thread ronak
Hi, I am developing a client application (not a web application). I am able to get the token and the token secret. Now how do i authorize the user ? Because for authorization i see the documentation asking me to redirect the user to a particular web-location !! How can i achieve this using a

Re: [twitter-dev] How to authorize from Client-Mobile-Application

2010-09-13 Thread Taylor Singletary
Some mobile clients opt to use a form of OAuth called xAuth for authenticating users without the web-page-song-and-dance. You can find out more about xAuth at http://dev.twitter.com/pages/xauth and can request permissions to utilize it by sending a detailed note to a...@twitter.com -- it is

Re: [twitter-dev] How to authorize from Client-Mobile-Application

2010-09-13 Thread Ronak Kumar Samantray
In the OOB flow also i need to redirect the user to an URL isnt it where he needs to key-in a PIN code ? Or am i missing something ? Thanks Ronak -- Ronak Kumar Samantray Hyderabad Mobile : +91-9347290267 040-66933916 On Tue, Sep 14, 2010 at 1:59 AM, Taylor Singletary

Re: [twitter-dev] How to authorize from Client-Mobile-Application

2010-09-13 Thread Taylor Singletary
Correct, you would still need to ask the user to go to a specific web page, where they will be asked to authorize your application and then be presented with a PIN code that they would enter in your application. Taylor On Mon, Sep 13, 2010 at 1:32 PM, Ronak Kumar Samantray

[twitter-dev] twitter search with 'following' flag

2010-09-13 Thread Felipe Peña Riveros
Hi there I'm developing a twitter app with two states. The first displays a public timeline based on a hashtag (for instance #alliwant). The second one displays an user timeline. In both of them, there's a search functionality in which you can choose whether to look for a hashtag, twitter user

[twitter-dev] Re: XML hashtags missing

2010-09-13 Thread james.eats.wo...@gmail.com
Hi, Cheers for the fast reply Taylor. Is there any scope as to when these issues may be solved, as several clients sites may have to be changed as their feeds are not being updated. Thanks again, James On Sep 13, 4:28 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi James, We

[twitter-dev] Changing to Read/Write application

2010-09-13 Thread IDOL
How long does it take for to permission a Read-only application to become a Read/Write application after changing the Access Level to read and write on the Application settings page? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:

Re: [twitter-dev] Changing to Read/Write application

2010-09-13 Thread Tom van der Woerdt
Instant. However, any existing credential will have to be re-created for security reasons. Tom On 9/13/10 11:30 PM, IDOL wrote: How long does it take for to permission a Read-only application to become a Read/Write application after changing the Access Level to read and write on the

Re: [twitter-dev] How to authorize from Client-Mobile-Application

2010-09-13 Thread Ronak Kumar Samantray
Once i get the access token, how long can i retain i use it for ? So that i need not ask the user to do the whole process again ? Is it that once in a lifetime ? Ronak Kumar Samantray Hyderabad Mobile : +91-9347290267 040-66933916 On Tue, Sep 14, 2010 at 2:05 AM, Taylor

Re: [twitter-dev] How to authorize from Client-Mobile-Application

2010-09-13 Thread Tom van der Woerdt
Currently, they don't expire. You may, however, like to implement some checks on whether they are still valid, because the user may decide to revoke access. Tom On 9/13/10 11:46 PM, Ronak Kumar Samantray wrote: Once i get the access token, how long can i retain i use it for ? So that i need

[twitter-dev] Seeing duplicate Twitter User ID's under the same Username in our DB

2010-09-13 Thread Sean Callahan
Hello Twitter Support, We are seeing something really weird. We just noticed about 5,000 users in our database that have multiple User ID's under the same Username. Have you every seen this and know why it happens and how we can prevent it from occurring again? Thanks so much! Sean --

[twitter-dev] PHP, Curl an OAuth Echo errors

2010-09-13 Thread sdenike
I have been trying for weeks here to get this going and cant seem to figure this out. I am trying to create a simple PHP/MySQL image uploader much like that of twitpic, yfrog etc etc to host my images on my own server. I am using the iPhone twitter app and have created a custom end point on my

[twitter-dev] Re: Request Token Failure

2010-09-13 Thread sdenike
Hey Tom, I think I am falling into this pitfall myself. I don't have the users information only the information that the iPhone twitter app sends me for posting an image on a custom end point. With that header information they send should be enough to send back to twitter to get the user

Re: [twitter-dev] Seeing duplicate Twitter User ID's under the same Username in our DB

2010-09-13 Thread Mark McBride
One thought is that people change screen names at some frequency. IDs never change.    ---Mark http://twitter.com/mccv On Mon, Sep 13, 2010 at 4:41 PM, Sean Callahan seancalla...@gmail.com wrote: Hello Twitter Support, We are seeing something really weird. We just noticed about 5,000

[twitter-dev] Re: Seeing duplicate Twitter User ID's under the same Username in our DB

2010-09-13 Thread Sean Callahan
That is the problem. User ID's are not suppose to change, though in our DB we see the same screen name with a different User ID. Of the 5,000 users in the DB, some have 6 ID's, a few have 5, 4 and 3 ID's but many have 2 User ID's. We are talking 5,000 users being affected of 5 million users in our

Re: [twitter-dev] Re: Seeing duplicate Twitter User ID's under the same Username in our DB

2010-09-13 Thread Mark McBride
Right. But here's the scenario: User ID 1 has screen name foo You load user ID 1's data. User ID 1 decides that foo is a silly screen name and changes it to bar. A new user, ID 10 signs up and decides that foo is an awesome screen name. You load user 10's data. So the important question: if

Re: [twitter-dev] What is the status of profile image changes via API?

2010-09-13 Thread Raghu Prasad
On Mon, Sep 13, 2010 at 8:33 PM, CWorster cwors...@schlimmer.com wrote: Hi Raghu, the profile image upload via API works fine. The new image is returned immediately. No caching issues. Thanks for the info. That means I'm doing something wrong. I'll check. I'm using the PHP library from