Re: [twitter-dev] NET::Twitter::Lite

2010-09-23 Thread Marc Mims
* Darren darrenlb...@gmail.com [100922 08:53]: I'm using Perl with NET::Twitter::Lite to send messages to an account on Twitter which works fine from the command line but as soon as I put it inside a CRONTAB it won't work at all. I've got all the paths correct for a script within a crontab, it

Re: [twitter-dev] what is the url and parameter of tweet in c++(liboauth)?

2010-09-23 Thread 玉柱九天
Thank all the people. In the morning I also realized tweet function. And share the source code gridtwit: http://code.google.com/p/gridtwit/

[twitter-dev] OAuth request token URL

2010-09-23 Thread kengimel
Hi, I recently register my twitter application and obtained my OAuth consumer credentials. However i noticed that when registering i choose the browser option as my application will run solely via a web browser, But to my surprise when i dispatched this: POST

Re: [twitter-dev] OAuth request token URL

2010-09-23 Thread Scott Wilcox
Yes, you can dynamically provide a callback URL, but you still need to enter one in the applications settings. Scott. On 23 Sep 2010, at 07:34, kengimel wrote: Hi, I recently register my twitter application and obtained my OAuth consumer credentials. However i noticed that when

[twitter-dev] why it doesn't work: GET statuses/retweets/:id

2010-09-23 Thread yuzhujiutian
hi all: my url, prm(parameters) as following: char *tweet_retweets_response = NULL; debug trace: tweet_retweets_url = http://api.twitter.com/1/statuses/retweets/25293485057.xml debug trace: tweet_retweets_prm =

[twitter-dev] Re: why it doesn't work: GET statuses/retweets/:id

2010-09-23 Thread 玉柱九天
and while i use the GET request, it response the same result. GET request: my url, prm(parameters) as following: char *tweet_retweets_response = NULL; debug trace: tweet_retweets_url =

[twitter-dev] Re: #newtwitter and the API

2010-09-23 Thread Brian Medendorp
include_entities Methods which return statuses support an include_entities parameter. When set to either true, t or 1, each tweet will include a node called entities,. This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags.

[twitter-dev] Re: Problem with my curl remote app

2010-09-23 Thread Daniel Contarini
is it supposed to work on PHP 5.3.3 ? Or just on php 5.2.x ? On 22 set, 17:02, Tom van der Woerdt i...@tvdw.eu wrote: You'd have to remove all the PHP5 specific code. Really, you should upgrade :-) Tom On 9/22/10 9:58 PM, Daniel Contarini wrote: Damn, i'm running this php -  4.4.7. There

[twitter-dev] Re: NET::Twitter::Lite

2010-09-23 Thread Darren
I've tried adding in PERL5LIB for cron; still a problem the code that falls over in the crontab is as follows: $result = eval { $nt-update($text) }; if ( $@ ) { errorTrap(update failed because: $@); } When it runs on the command line no errors; however inside a cron it return 'OK' in

Re: [twitter-dev] Re: Problem with my curl remote app

2010-09-23 Thread Tom van der Woerdt
Works with 5.3.3 on my server. Tom On 9/23/10 3:02 PM, Daniel Contarini wrote: is it supposed to work on PHP 5.3.3 ? Or just on php 5.2.x ? On 22 set, 17:02, Tom van der Woerdt i...@tvdw.eu wrote: You'd have to remove all the PHP5 specific code. Really, you should upgrade :-) Tom On

[twitter-dev] Re: Incorrect search results

2010-09-23 Thread DS
Just a note, we fixed the problem. The ID that was not working was created a while ago an never used until now. We just set the tweets to be private, saved, logged out, then logged in, set tweets to public, saved. After that refresh of the parameters things are working. Seems it just needed some

[twitter-dev] PHP cURL example for request token?

2010-09-23 Thread Michael
Hello! I have been banging my head for a few hours over this, and can't seem to figure it out. When requesting the unauthorized request token from OAuth, I can't seem to be able to get past the Failed to validate oauth signature and token error. I have used that Google tool to verify that I am

[twitter-dev] Incorrect signature /1/statuses/update.json

2010-09-23 Thread marcel
hi I get the following error when I try to post a update (http:// api.twitter.com/1/statuses/update.json) {request:/1/statuses/update.json,error:Incorrect signature} I asked the user for permission to post on his behave with the request_token and access_token, this works just fine. But when I

Re: [twitter-dev] Re: xAuth problem

2010-09-23 Thread Taylor Singletary
I don't know what's going on and need more information to be able to tell you. What's the name of the Twitter account that you have used to register your application? Taylor On Wed, Sep 22, 2010 at 8:35 PM, privatejava ngmm...@gmail.com wrote: I 'm suprised..today when I came to compile my all

Re: [twitter-dev] Incorrect signature /1/statuses/update.json

2010-09-23 Thread Taylor Singletary
Hi Marcel, Looks like you're close to getting this right. Can you share the signature base string generated for this request? Is there any specific reason you are also sending Cookie information? Thanks, Taylor On Thu, Sep 23, 2010 at 3:39 AM, marcel mar...@marcelrouwenhorst.nl wrote: hi I

Re: [twitter-dev] Re: NET::Twitter::Lite

2010-09-23 Thread Marc Mims
* Darren darrenlb...@gmail.com [100923 06:04]: I've tried adding in PERL5LIB for cron; still a problem the code that falls over in the crontab is as follows: $result = eval { $nt-update($text) }; if ( $@ ) { errorTrap(update failed because: $@); } When it runs on the

Re: [twitter-dev] OAuth request token URL

2010-09-23 Thread Taylor Singletary
Our system is quirky. There technically isn't a boolean flag set on an application that dictates whether it's a web or desktop application -- instead the boolean is a derived value based on the presence of a default callback URL. Think of this callback URL as a placeholder -- while it should have

Re: [twitter-dev] twitter oAuth 401 Unauthorizd error

2010-09-23 Thread Taylor Singletary
Also, please note that OAuth URLs should be https://api.twitter.com/oauth/request_token, https://api.twitter.com/oauth/authorize, and https://api.twitter.com/oauth/access_token. Likewise, API request should go to http://api.twitter.com/1/* Taylor On Wed, Sep 22, 2010 at 10:57 PM, Tom van der

[twitter-dev] Question about truncated entities in the streaming API

2010-09-23 Thread Justin
Are entities not delivered if the tweet is truncated? Can they be in the future? I've noticed that when retweets are delivered they have RT @whateverusername: prepended, this often shoves a url or hash tag off the end of a message and I don't seem to receive the entity either, even though it was

[twitter-dev] Re: Question about truncated entities in the streaming API

2010-09-23 Thread Justin
It looks like I should be looking for retweeted_status... I overlooked that. On Sep 23, 10:14 am, Justin justin.carl...@gmail.com wrote: Are entities not delivered if the tweet is truncated? Can they be in the future? I've noticed that when retweets are delivered they have RT

[twitter-dev] Tweet Button and single-page web app

2010-09-23 Thread A. Jesse Jiryu Davis
Dear developers, I'm having trouble with the Tweet Button's count on a web app which uses hash-urls to navigate. Consider this page: http://emptysquare.net/photography/lower-east-side/#4/ I install a Tweet Button like so: var tweet_button = $('#tweet_button_container');

[twitter-dev] Re: Question about truncated entities in the streaming API

2010-09-23 Thread Justin
Actually I'm still unsure, are entities provided in the retweeted_status? Where is retweeted_status documented, especially it's use in the streaming api? Still digging... On Sep 23, 10:36 am, Justin justin.carl...@gmail.com wrote: It looks like I should be looking for retweeted_status... I

Re: [twitter-dev] #newtwitter and the API

2010-09-23 Thread Damon Clinkscales
Brian, Thanks for the info. retweet_count The status object now includes a retweet_count field. When enabled this field will indicate the number of times a Tweet has been retweeted using the Twitter retweet function. What does when enabled mean? I have a couple of tweets for which I am

[twitter-dev] Search API - Show From user but not @replies

2010-09-23 Thread Dan
Is it possible using a search query to show tweets from a user but not include their @ replies? I can see that it's possible to negate a query (such as @user) but not possible to use a wildcard (to negate all @users) so how could you do this? -- Twitter developer documentation and resources:

Re: [twitter-dev] oauth and tokens what up with that?

2010-09-23 Thread Taylor Singletary
Hi Mike, We have a fairly easy path to acquiring an access token just for your own account/application combination. You can find out more about it at http://dev.twitter.com/pages/oauth_single_token Taylor On Thu, Sep 23, 2010 at 10:33 AM, Mike the Pike mikeb...@yahoo.com wrote:

Re: [twitter-dev] Search API - Show From user but not @replies

2010-09-23 Thread Matt Harris
Hi Dan, Search is fairly basic in it's use of operators so the query you are trying to do isn't possible. If all you really want is a users timeline have you tried: http://api.twitter.com/1/statuses/user_timeline.json?screen_name=username_you_want This will give you all tweets sent by a

Re: [twitter-dev] Re: Problem with my curl remote app

2010-09-23 Thread Matt Harris
Hi Mike, The OAuth 1 tokens are permanent and expire only if the user revokes the application, or if your application is deleted. The user token and secret are returned by the method https://api.twitter.com/oauth/access_token, called after the user has authorised your application and we have

[twitter-dev] Re: Geotagged tweets not appearing in search

2010-09-23 Thread Roberto Estrada
Was an strage issue with the geolocation preference at twitter...now fixed, no need to reply. Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker:

[twitter-dev] Re: Searching for tweets containing a specific domain

2010-09-23 Thread snydeq
Twitter Search seems to have dropped or lost its ability to parse shortened URLs, as of Sept. 21, which is the key to surfacing domain searches within shortened URLs. Not sure if this is a glitch or an intentional change. -- Twitter developer documentation and resources:

[twitter-dev] Show User API performance

2010-09-23 Thread Miles Parker
I haven't been using the Search API for a while while I sorted out my Oath stuff. :) In the meantime, I think I've noticed a significant slow down in show user queries. Is anyone else seeing this or is it my imagination? thanks! -- Twitter developer documentation and resources:

[twitter-dev] Re: PHP cURL example for request token?

2010-09-23 Thread Michael
Hi Taylor! I am indeed trying to use POST, but that's part of my confusion because I think I'm supposed to be sending this all as an Authorization header instead of as post fields? I'm following the Requesting a Token section of a href=http://dev.twitter.com/pages/ auththis page/a for the

[twitter-dev] How do I create a developer account?

2010-09-23 Thread CSKim
I want to register an application, but when I click on the link, it takes me to a sign in page. I can't find anywhere to create an account. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements

Re: [twitter-dev] How do I create a developer account?

2010-09-23 Thread Taylor Singletary
Hi CSKim, You can use your regular old Twitter account, or otherwise create a new Twitter account. Apps belong to Twitter accounts. Sorry that this isn't clear! Taylor On Thu, Sep 23, 2010 at 4:40 PM, CSKim kim.maccorm...@gmail.com wrote: I want to register an application, but when I click on

[twitter-dev] How to retrieve more recent popular tweets in search api?

2010-09-23 Thread Alex Dong
Hi there, By default, the search api will return only three most popular tweets from http://search.twitter.com/search.json?q=%23newtwitterresult_type=popular. I'm wondering are there any way I can get more popular tweets? For example, the popular tweets in the last 24 hours? I've tried to add a

Re: [twitter-dev] How to retrieve more recent popular tweets in search api?

2010-09-23 Thread Taylor Singletary
There isn't a way for this through the Search API at this time. While it's not a perfect solution, there is a @toptweets user at http://twitter.com/toptweets that retweets Top Tweets -- ripe for obtaining the kind of tweets you're looking for.. Taylor On Thu, Sep 23, 2010 at 5:41 PM, Alex Dong

[twitter-dev] Re: How to retrieve more recent popular tweets in search api?

2010-09-23 Thread Alex Dong
Taylor, thanks for the quick reply. Tweet id:25330325246 shows up in http://search.twitter.com/search.json?q=newtwitterresult_type=popular but it's not in http://search.twitter.com/search?tag=newtwitterfrom=toptweets. Here are the metadata fields: metadata:{recent_retweets:

Re: [twitter-dev] Re: why it doesn't work: GET statuses/retweets/:id

2010-09-23 Thread 玉柱九天
hi Taylor, thanks very much. I found the problem points: if the desired status(id) has not been retweeted, it responses result as following.

Re: [twitter-dev] oauth and tokens what up with that?

2010-09-23 Thread 玉柱九天
you can refer to the demo program gridtwit: http://code.google.com/p/gridtwit/ It details oauth authentication flow and coding(c++, liboauth). 2010/9/24 Taylor

Re: [twitter-dev] OAuth request token URL

2010-09-23 Thread 玉柱九天
you can refer to the demo program gridtwit: http://code.google.com/p/gridtwit/ especially the files: gridtwit_client_oauth_demo\Demo_Description.doc and gridtwit_client_oauth_demo\liboauth-0.9.1\tests\gridtwit.c It details oauth authentication flow and coding(c++, liboauth).