[twitter-dev] Re: trends available in Malaysia?

2011-03-27 Thread Jimmy Au
Where can i know the 43 locations. Which not include in malaysia. On Mar 22, 8:47 am, Matt Harris wrote: > Hey Jimmy, > > You can find a list of the available trends locations by calling the API > method trends/available. More information on this method can be found on our > developer resources s

Re: [twitter-dev] Question about storing username & password like tweetdeck

2011-03-27 Thread Scott Wilcox
Tweetdeck uses XAuth to obtain tokens for OAuth use. On 27 Mar 2011, at 15:56, Jimmy Au wrote: > I am wondering what api is using by tweetdeck which is not using oauth > authentication. It direct using username and password for it's app. -- Twitter developer documentation and resources: http://

[twitter-dev] Question about storing username & password like tweetdeck

2011-03-27 Thread Jimmy Au
I am wondering what api is using by tweetdeck which is not using oauth authentication. It direct using username and password for it's app. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracke

[twitter-dev] Re: Hello with OAuth connection

2011-03-27 Thread Jon
Can someone please help with the above code? Thanks, Jon On Mar 25, 3:57 pm, Jon wrote: > Thanks... I should've posted the whole thing because now I'm getting > another error! This is what I'm trying to do (I really appreciate your > help!): > >            /* Load required lib files. */ >    

[twitter-dev] Re: Hello with OAuth connection

2011-03-27 Thread Blaaze
what exactly you want to implement, am a freelancer and you can hire me at good rates. -- 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

[twitter-dev] Re: Hello with OAuth connection

2011-03-27 Thread Jon
All I'm trying to do is pull the user timeline or latest tweets for a given user that I follow. I think I have the code 99% correct, but I am horrible with PHP and am getting an error: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' Can someone please let me know wh

Re: [twitter-dev] Re: Hello with OAuth connection

2011-03-27 Thread Blaaze Artifex
can you post the exact code and exact error that you are seeing on your browser On Sun, Mar 27, 2011 at 11:38 PM, Jon wrote: > All I'm trying to do is pull the user timeline or latest tweets for a > given user that I follow. I think I have the code 99% correct, but I > am horrible with PHP a

Re: [twitter-dev] Twitter share button without count

2011-03-27 Thread Arnaud Meunier
Hey, Simply set the data-count property to "none". For more information, read the doc: http://dev.twitter.com/pages/tweet_button#position-count Arnaud / @rno On Fri, Mar 25, 2011 at 9:03 AM, twitter dev wrote: > HI Guys, > > I'm using the following code for Twitter sh

Re: [twitter-dev] Twitter Basics and Errors

2011-03-27 Thread Arnaud Meunier
Hey Chris, 1) Is the IP you're using shared? For example, what was the value of "X-RateLimit-Remaining" _before_ starting the test? If you're concerned with Rate Limiting, you should really consider authenticating your calls. 2) Looks like you're not using your library correctly for search. Try:

[twitter-dev] Re: Hello with OAuth connection

2011-03-27 Thread Jon
The exact code is posted above... you can see the error here: http://realestateagentswhotweet.com/kristan-cole/ I think it's something structurally though with the PHP, as line 65 itself should be fine, it's just the standard time display code below: //create a time display like '1 hour ago'

[twitter-dev] Re: Hello with OAuth connection

2011-03-27 Thread Blaaze
in this code above especially in your function twitterTime please remove single quotes and replace them with double quotes and also remove that first line of comment, then try it will work -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http:

[twitter-dev] Re: Hello with OAuth connection

2011-03-27 Thread Jon
Thanks Blaze... I think we're getting closer, now the error is on like 78 (You can see it here: http://realestateagentswhotweet.com/kristan-cole/) Here is the code: '; bcn_display(); echo ''; }

[twitter-dev] Perl devs: new AutoCursor trait for Net::Twitter

2011-03-27 Thread Marc Mims
If you're using Net::Twitter's friends_ids or follower_ids methods without a cursor parameter, an upcoming Twitter API change will break your code. I've added an AutoCursor trait (currently in a developer only release), to deal as transparently as possible with the change. I blogged about it h

Re: [twitter-dev] Perl devs: new AutoCursor trait for Net::Twitter

2011-03-27 Thread M. Edward (Ed) Borasky
On Sun, 27 Mar 2011 16:14:10 -0700, Marc Mims wrote: If you're using Net::Twitter's friends_ids or follower_ids methods without a cursor parameter, an upcoming Twitter API change will break your code. I've added an AutoCursor trait (currently in a developer only release), to deal as transpare

[twitter-dev] Re: Perl devs: new AutoCursor trait for Net::Twitter

2011-03-27 Thread Marc Mims
On Mar 27, 4:30 pm, "M. Edward (Ed) Borasky" wrote: >  I've had explicit cursor / page logic in all my Net::Twitter calls >  since I started using it - is there any reason to switch to AutoCursor? Probably not. If you're using cursors in the same way AutoCursor does, then using AutoCursor would m

Re: [twitter-dev] Re: Hello with OAuth connection

2011-03-27 Thread Abraham Williams
The variable name $xml was changed to $statuses further up and you didn't change the later $xml to $statuses. Abraham - Abraham Williams | Hacker Advocate | abrah.am Just launched from Answerly : InboxQfor Chrome @abraham

[twitter-dev] Re: Hello with OAuth connection

2011-03-27 Thread Jon
Thanks Abraham, I changed it to $satuses, but will get the same error on that line: Warning: Invalid argument supplied for foreach() in ... on line 78 On Mar 27, 5:36 pm, Abraham Williams <4bra...@gmail.com> wrote: > The variable name $xml was changed to $statuses further up and you didn't > chang

[twitter-dev] Re: Data-expanded-url attribute

2011-03-27 Thread ctrand
Thanks for the reply Matt, I am using data-counturl for tweets made using the tweet button, and usually these seem to be fine and after 10-15 minutes will give a +1 to the counter on the tweet button. However, for tweets I make using the API directly (using the Twitter gem) the counter +1 seems t

[twitter-dev] Re: Some changes and updates to the API and Tweet Button

2011-03-27 Thread Joe Mayo
Matt, Could you clarify how [list identifier] works? In my case, I used (something like): /1/lists/update.xml?list_id=123&name=test&description=test2 and it worked. However, other combinations of slug, name (old param), and identifiers failed with 400/404's (depending on permutation). Furthe

Re: [twitter-dev] Re: Hello with OAuth connection

2011-03-27 Thread Abraham Williams
var_dump() the $statuses var to make sure it is what you expect and change the foreach() as appropriate. Abraham - Abraham Williams | Hacker Advocate | abrah.am Just launched from Answerly : InboxQfor Chrome @abraham