[twitter-dev] Calling account/update_profile_background_image using oauth

2010-11-19 Thread computerzworld
Hello, I am want to update profile background image using oauth library calling account/update_profile_background_image. But I don't know how can I use this? Which parameter I need to pass to this in order to update profile background image? Please help me. Thanks in advance. --

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

2010-11-19 Thread computerzworld
Thanks for your reply. Is there anyway to sync server clock programatically? Or any other way by which we can make the stuff working? Because I don't have access to server hardware. On Nov 12, 12:28 am, Abraham Williams 4bra...@gmail.com wrote: Your servers clock needs to be properly synced

[twitter-dev] Creating a tweet this button in flash

2010-11-19 Thread Theo
Hi, i'm trying to created a tweet this button inside flash, but i'm having trouble to create it. I have been able to tweet a link using the twitter.com/shareURL and it works fine after the user identify himself, but i'm unable to type a message together with it. ex: Hey! Check out this page. URL

[twitter-dev] Re: geocode question

2010-11-19 Thread disc31
Thanks thats awsome erm just another question, i found this quiry on the site wich would help a lot if i could get it to work with my own locations. http://stream.twitter.com/1/statuses/filter.jsonlocations=-122.75,36.8,-121.75,37.8 this is the example they gave. but when i input my on logitude

[twitter-dev] Re: Snowflake: An update and some very important information

2010-11-19 Thread mattpaul
+1 for bumping the version number and maintaining backwards compatibility. On Oct 20, 2:23 pm, Josh Roesslein jroessl...@gmail.com wrote: Isn't the point of having versioned API's so changes can be rolled out w/o breaking a much of applications at once? Why not increment to version 2 and

[twitter-dev] Tweet Button Not Valid XHTML

2010-11-19 Thread BG
Hello, I hope this is the right place to post this but I have found an issue when using the Tweet button on my website. I use the custom version. When I run it through the W3C Validator I get these errors and I have tried Doctype variations but they all don't validate. there is no attribute

[twitter-dev] Learning how to use the API

2010-11-19 Thread Michele
Hi I am a young Swiss, that tries to learn programming. I have a basic question: How do you proceed, when you have to understand an API? Do you look for online examples, or is there a way to comprehend how to use which class and method? Thx! -- Twitter developer documentation and resources:

[twitter-dev] Twiter

2010-11-19 Thread Romy
Hi, I have one query. I am creative my own twitter button which will open through javascript popup, with that popup I also want to show in the that popup content which we place in (data-counturl=Content come here how can be it is possible? my script is like this ) function myPopup1() {

[twitter-dev] Streaming API 'restricted track' 'partner track' Levels

2010-11-19 Thread devjyoti patra
Hi, I was wondering about what happens to the developers/companies who are at 'restricted track' or 'partner track' levels for streaming API access? Also, If a developer wants to have his applications Streaming api access-roles elevated, who does he contact - Twitter or Gnip? And finally, for the

[twitter-dev] Re: PHP json_decode and snowflake

2010-11-19 Thread Jeff
I ran into this problem and was able to solve it by setting the PHP's precision setting to 20. This keeps PHP from displaying floats as exponents. ini_set('precision', 20); On Nov 6, 9:02 am, CWorster cwors...@schlimmer.com wrote: If you have a sufficient PHP-Version

Re: [twitter-dev] Learning how to use the API

2010-11-19 Thread Edward Hotchkiss
google twitteroauth php abraham download, run test. boom. Best, -- Edward H. Hotchkiss http://www.edwardhotchkiss.com/ http://www.twitter.com/edwardhotchkiss/ -- On Nov 19, 2010, at 3:17 AM, Michele wrote: Hi I am a young Swiss, that tries to learn programming. I

Re: [twitter-dev] Tweet Button Not Valid XHTML

2010-11-19 Thread Tom van der Woerdt
These attributes are HTML5 attributes, not XHTML attributes. Tom On 11/19/10 7:17 AM, BG wrote: Hello, I hope this is the right place to post this but I have found an issue when using the Tweet button on my website. I use the custom version. When I run it through the W3C Validator I get

[twitter-dev] Include_entities makes the retweet_count return null?

2010-11-19 Thread Pipo
Hi, I was trying to get the number of retweets (reading an user timeline), and I realized that if in the query I request the entities it returns null, whuile if not, it return the right number.. Any workaround for this taking into account that I need the entities? check:

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

2010-11-19 Thread M. Edward (Ed) Borasky
The server administrators can and should sync server clocks automatically to the world time clocks using Network Time Protocol (NTP). If your IT department isn't doing this, find out why not. Most likely they don't know it's possible. It's pretty easy on Linux and Windows, but you do need

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

2010-11-19 Thread Matt Harris
In addition, the server time is returned in the HEAD of every response from the Twitter API. If the first request fails you can inspect the time returned in the HEAD and calculate the difference between it and your local time. You can then add/subtract that difference to the timestamp you use for

Re: [twitter-dev] Calling account/update_profile_background_image using oauth

2010-11-19 Thread Matt Harris
I have an example of how to do this in my PHP library. You can find the example here: https://github.com/themattharris/tmhOAuth/blob/master/examples/images.php The documentation for update_profile_background image is here:

[twitter-dev] Easy there, Turbo. Too many requests recently. Enhance your calm. - User streams limit?

2010-11-19 Thread ben
Hi, we're working on a Twitter client, using user streams API. Since yesterday I found out that for certain accounts, whenever we try to connect using user streams, we get the following error: Easy there, Turbo. Too many requests recently. Enhance your calm.. And ever since this happened, the

Re: [twitter-dev] Re: xAuth request returns 401, need help

2010-11-19 Thread Matt Harris
Hey Chrys, The order of the parameters in the base string matter and they should be in lexicollexicographical order. For ease of debugging and to remove any ambiguity it would be better to have the authorization header use the same order too. Can you tell me what the body content of the 401

[twitter-dev] Re: xAuth request returns 401, need help

2010-11-19 Thread Bess
Twitter 401 error is related to Authentication 401 Unauthorized: Authentication credentials were missing or incorrect. Another debugging is to print out error type error message from iPhone console On Nov 19, 11:04 am, Matt Harris thematthar...@twitter.com wrote: Hey Chrys, The order of the

[twitter-dev] Re: xAuth request returns 401, need help

2010-11-19 Thread Chrys Bader
Hey Matt, I am using Loren Brichter's OAuthCore library to create the Authorization header... so I imagine he did it correctly. The body content of the 401 is empty. Content-Length: 0 On Nov 19, 11:04 am, Matt Harris thematthar...@twitter.com wrote: Hey Chrys, The order of the parameters in

[twitter-dev] Re: xAuth request returns 401, need help

2010-11-19 Thread Chrys Bader
Yeah, I've done that. Authentication credentials meaning my oAuth credentials, or xAuth credentials? On Nov 19, 11:41 am, Bess bess...@gmail.com wrote: Twitter 401 error is related to Authentication 401 Unauthorized: Authentication credentials were missing or incorrect. Another debugging is

[twitter-dev] Re: xAuth request returns 401, need help

2010-11-19 Thread Chrys Bader
Also, the example here shows that the Auth header and the base string aren't in the same order: http://dev.twitter.com/pages/xauth On Nov 19, 11:04 am, Matt Harris thematthar...@twitter.com wrote: Hey Chrys, The order of the parameters in the base string matter and they should be in

Re: [twitter-dev] Easy there, Turbo. Too many requests recently. Enhance your calm. - User streams limit?

2010-11-19 Thread Taylor Singletary
Hi Ben, Can you tell us a bit more about how you were using user streams? Are you opening up multiple simultaneous connections to User Streams from the same IP and/or same user account? If so, how many? What client library are you using? Are you doing a lot of disconnecting and reconnecting in

[twitter-dev] Tweet Button Event

2010-11-19 Thread BrianGruber
For the tweet button... is there a way to capture when the user either clicked the button or finished tweeting? That way I could enable something hidden on the page like a coupon? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:

Re: [twitter-dev] Re: xAuth request returns 401, need help

2010-11-19 Thread Matt Harris
Hey Chrys, Agreed. The authentication header doesn't have to be in order but as said previously, it helps with debugging. It is really strange that the response body is empty. It maybe easier if you email me the full request headers, with response headers and content so I can debug further. For

Re: [twitter-dev] Tweet Button Event

2010-11-19 Thread Matt Harris
This feature doesn't exist for the Tweet Button yet. It has been requested and is something on our enhancements to consider list: http://code.google.com/p/twitter-api/issues/detail?id=1835 Should we add this feature we will post a message to our announcements list (

[twitter-dev] Update Status

2010-11-19 Thread Anoopkp
Hello Sir, My Requirement: I am using PHP , From a php page i have to update the STATUS or Post a Tweet in twitter. I have downloaded php library , i created an application in twitter to get secret code etc... I have configured the file according to the application details. But i am getting an

[twitter-dev] Re: Parsing date in create_at field

2010-11-19 Thread @Red_Eyes
The date format is usually: Ddd Mmm dd hh:mm:ss + eg: Tue Nov 16 14:40:25 + 2010 What platform are you coding for? In .Net you can use Convert.ToDateTime on this. Alternatively, you can use this: DateTime.Parse(string.Format({0}-{1}-{2} {3}, dateTime.Substring(8,

[twitter-dev] Re: Twiter

2010-11-19 Thread L. Mohan Arun
Use ?status= parameter and append the content as well as the url. https://twitter.com/?status=Check out this SlideShare presentation : Symmetry http://slidesha.re/cVGjq9 This is some random slideshare, not to be confused with twitter api. ~~~Mohan Arun L -- Twitter developer documentation and

[twitter-dev] Check if user is already logged in?

2010-11-19 Thread Patrick Golden
Is it possible to check to see if a user is logged in to Twitter and has authorized the application without having any redirects? For first time login, I have this basic code: ? require(twitter/twitteroauth.php); session_start(); // The TwitterOAuth instance $twitteroauth = new

[twitter-dev] Help to count number of *all* the tweets for a given location

2010-11-19 Thread arlahiru
I need a small help to get the count of tweets for a given location(lat,log, radius) within a specific hour range of day using twitter search API or stream API. I realized that search API doesn't support to get *all* the tweets for a given location(*all* means at least 99% accurate result). It

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

2010-11-19 Thread computerzworld
@ Matt Harris I checked the header from twitter my server's header I found difference of 1 hour I have set the time using date_default_timezone_set to GMT using PHP. But still its giving the same error. What should be the problem behind it? Thanks. On Nov 19, 11:55 pm,

[twitter-dev] Re: geocode question

2010-11-19 Thread L. Mohan Arun
Your URL: http://stream.twitter.com/1/statuses/filter.jsonlocations=-122.75,36.8,-121.75,37.8 Did you add a ? after the word json and before locations... http://stream.twitter.com/1/statuses/filter.json?locations=-122.75,36.8,-121.75,37.8,-74,40,-73,41 When I input this url in my browser it

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

2010-11-19 Thread computerzworld
Problem solved! I have synchronized my server time to NTM using WHM it worked! Thanks all for your help. On Nov 20, 10:26 am, computerzworld meat2...@gmail.com wrote: @ Matt Harris                       I checked the header from twitter my server's header I found difference of 1 hour I

Re: [twitter-dev] Check if user is already logged in?

2010-11-19 Thread Abraham Williams
With TwitterOAuth you have to maintain your own sessions. When you get a users access token save that into $_SESSION or save something like $_SESSION['twitter_users_auth'] = TRUE. Check if that is set and if it is not you know the user is not currently logged into your site with Twitter. Abraham

Re: [twitter-dev] Update Status

2010-11-19 Thread Taylor Singletary
Hi Anoopkp, You'll have more luck finding help for this problem if you also let everyone know which specific PHP library you're using. Taylor On Tue, Nov 16, 2010 at 12:27 AM, Anoopkp anoopk...@gmail.com wrote: Hello Sir, My Requirement: I am using PHP , From a php page i have to update