[twitter-dev] Re: Twitter JSON feed falls out with php

2011-06-15 Thread Patrick Kennedy
You are accessing API in an unauthentic way and without oAuth, and you are running out of API calls. You can add a service method to track remaining API calls that you have left to confirm this, e.g, http://api.twitter.com/1/account/rate_limit_status.{xml | json}. You can research from

[twitter-dev] Re: TweetDeck technical problem

2011-05-29 Thread Patrick Kennedy
, Patrick Kennedy kenned...@gmail.comwrote: This is not strictly a dev question, but I was hoping others here may be able to suggest or redirect.  I have recently started using Bodhi Linux, but I have not been able to get TweetDeck to work on it.  Bodhi is based on the Ubuntu distro, but it's

[twitter-dev] TweetDeck technical problem

2011-05-28 Thread Patrick Kennedy
This is not strictly a dev question, but I was hoping others here may be able to suggest or redirect. I have recently started using Bodhi Linux, but I have not been able to get TweetDeck to work on it. Bodhi is based on the Ubuntu distro, but it's a minimalist version, and the user must use

[twitter-dev] Re: oAuth with twitpic or yfrog photo uploads in mobile apps

2011-05-28 Thread Patrick Kennedy
Frank - A lot of the existing examples you see on the Internet use basic oAuth, but these are just old examples, and you must use oAuth. It's possible to make it work - I've made a basic TwitPic prototype, so I know it's doable. (Still working on 4sq tho!) You simple need to master the oAuth

[twitter-dev] Re: How to create a website using twitter on a local machine?

2011-04-22 Thread Patrick Kennedy
KiTe, Twitter has provisioned a way for developers to handle this Dev issue. Add to your hosts file local.dev, and use 127.0.0.1 as the IP. Then use http://local.dev/ as the prefix with whatever files you develop locally, e.g, http://local.dev/myapp/index.php. Register your new app at Twitter:

[twitter-dev] Re: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Patrick Kennedy
I'd also like to add that if you want to start *reading* tweets, which is probably inevitable, you should configure your local test server as local.dev vice localhost (mapping 127.0.0.1 to local.dev in addition to localhost). On Feb 17, 2:17 pm, Adamantus dan.cottre...@gmail.com wrote: Genius,

[twitter-dev] Re: localhost testing of Oauth

2011-02-03 Thread Patrick Kennedy
Yes, you can do this with epiTwitter (php) or twitter (ruby) gem, etc, etc, to do that. Once you develop the code via localhost, you then set it up on the Internet with your code to authorize with twitter, exchanging request tokens for access tokens, if you want different users to use your

Re: [twitter-dev] Ruby way using twitter_oauth

2011-02-01 Thread Patrick Kennedy
Specifically, here's what I tried, but it doesn't seem to quite fly - before do next if request.path_info =~ /ping$/ @user = 'kennedypj'# @user = session[:user] @client = TwitterOAuth::Client.new( :consumer_key = @@config['consumer_key'], :consumer_secret =

[twitter-dev] Re: Problem setting up new twitter-async browser app

2011-01-31 Thread Patrick Kennedy
Seems like I just figured out the issue. For some reason, I have a problem with my Firefox web browser. It works fine in Epiphany Web Browser. I'm not sure what the issue is with Firefox, but I am trying to determine the problem. It is not a cache issue, since I have already dumped the cache

[twitter-dev] Re: Problem setting up new twitter-async browser app

2011-01-31 Thread Patrick Kennedy
Actually, it's now working on both sides Firefox and Epiphany. Just starting to work suddenly. My just trying it with Epiphany cleared the issue somehow. I'm not sure. But it's finally working. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via

Re: [twitter-dev] Re: Upgrading from Read to Read / Write access for OAuth API Key

2011-01-31 Thread Patrick Kennedy
? Is this true? Anyone from Twitter have any input on this? On Sun, Jan 30, 2011 at 11:04 AM, Patrick Kennedy kenned...@gmail.com wrote: Tim - 1.  Changing from read to read/write won't change you API consumer keys or tokens. 2.  Your application's users don't authorized

Re: [twitter-dev] Upgrading from Read to Read / Write access for OAuth API Key

2011-01-30 Thread Patrick Kennedy
Tim - 1. Changing from read to read/write won't change you API consumer keys or tokens. 2. Your application's users don't authorized for read or read/write; they merely use your application, which you offer as read or read/write to the world. That is to say, if it's read, your application can

Re: [twitter-dev] Re: Net::Twitter::Lite cannot authenticate me

2011-01-28 Thread Patrick Kennedy
Sol, They do come from Twitter, but your program must retrieve the token and extract the access token and secret. If your program doesn't save them to variables or cookies, subsequent requests will fail, for example. You probably haven't probably retrieved them. That said, I am having problems

Re: [twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-05-15 Thread Patrick Kennedy
Faried - I'm sure it mostly my new newness to Ruby; rake/make files are not my strong area as well. If it's fairly small changes, can you provide those changes? Basically, why patch it - if I can just use a replacement file. But since it's not provided yet, maybe you can demonstrate those

Re: [twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-05-15 Thread Patrick Kennedy
I bet coffee and 10 seconds with either of you would fix my problem, but no worries. On Sat, May 15, 2010 at 9:02 PM, kuhkatz kuhk...@googlemail.com wrote: Am 14.05.2010 23:40, schrieb Faried Nawaz: On May 15, 12:41 am, kuhkatzkuhk...@googlemail.com  wrote: so i suppose i am doing things

Re: [twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-05-14 Thread Patrick Kennedy
Hi, Faried - I tried it too, since I have Linux 10.04, and it also has a problem at the patching part, even provided your two ways to execute the diff. I'm also new to Ruby stuff. $ patch -i twurldiff patching file Rakefile Hunk #1 FAILED at 2. Hunk #2 FAILED at 69. 2 out of 2 hunks FAILED --

Re: [twitter-dev] Re: Send Cyrillic character (OAuth)

2010-05-10 Thread Patrick Kennedy
Z-13, Don't forget to do rake db:migrate to build the tables in Sqlite. Agile Web Development with Rails has the skinny to install rails for Mac, Linux, or Windows, if you need more solid material. On Mon, May 10, 2010 at 8:23 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Z-13,

Re: [twitter-dev] Testing Twitter API webapps

2010-04-23 Thread Patrick Kennedy
Yes, Twitter requires a callback URL. Make a test page to display (or save to file) your oAuth tokens. Embed those tokens into your local test page (and remove that helpful test page on hosted server). Develop locally, and add if-then blocks, depending if you are local or remote. That way, you

Re: [twitter-dev] Testing Twitter API webapps

2010-04-23 Thread Patrick Kennedy
 That way the @imby lists and feed does not contain test tweets and whatnot.  Again, this is contained in a config file so that prod = @imby and everything else = @imbyTest On Fri, Apr 23, 2010 at 12:19 PM, Patrick Kennedy kenned...@gmail.com wrote: Yes, Twitter requires a callback URL. Make a test

Re: [twitter-dev] Strange problems with Twitter API

2010-04-23 Thread Patrick Kennedy
I also use epiTwitter. Using 'localhost' has worked for me, but sometimes it breaks, and I now prefer 127.0.0.1. As you note: after successful authentication with Twitter, it works fine for the first time until page refresh. This means the oauth tokens are not saved into session variables, a

Re: [twitter-dev] open source twitter-text

2010-04-17 Thread Patrick Kennedy
' require 'rubygems' require 'twitter-text' include Twitter::Extractor p = MyClass.new puts extract_mentioned_screen_names( p.usernames ) On Sun, Apr 11, 2010 at 6:34 PM, Patrick Kennedy kenned...@gmail.com wrote: Actually, I can make it work like this - require 'rubygems' require 'lib

Re: [twitter-dev] Hovercards with blogger.js?

2010-04-15 Thread Patrick Kennedy
Example shows how to use hovercard in an HTML page. Is there a way to call from a javascript.js file? If so, what is best approach for supporting both HTML and javascript.js of same application when using @Anywhere? On Thu, Apr 15, 2010 at 11:34 AM, Abraham Williams 4bra...@gmail.com wrote:

Re: [twitter-dev] public_timeline

2010-03-22 Thread Patrick Kennedy
Yes, it was announced here that they're keeping it. Anyways, a cURL request should be perfect for public_timeline tweets. On Tue, Mar 23, 2010 at 7:44 AM, Josh Roesslein jroessl...@gmail.com wrote: I thought twitter was reconsidering keeping public timeline around. Not sure if there has been a

Re: [twitter-dev] Re: Send Cyrillic character (OAuth)

2010-03-20 Thread Patrick Kennedy
I'm new to Rails, and I am in process of studying this oauth example. Since there is no index file entry point at /public, where is the entry point of your oauth-dancer app? This is a newbie question of Rails, but it looks like a fun app for the oauth dancing purposes, and I wanted to follow the

Re: [twitter-dev] Undefined Index Notice with PHP w/ statues/mentions method

2010-03-16 Thread Patrick Kennedy
That just means you have PHP set to display helpful errors, such as the use of a variable that was not initialized before first use. The hosting service will likely have these errors turned off. You can edit the library and correct such notices, or you can just use them as feedback on your

Re: [twitter-dev] Re: Deprecating /statuses/public_timeline resource on 4/5/10

2010-03-03 Thread Patrick Kennedy
Because you're suppose to use home_timeline now, which has everything public_timeline has, plus support for retweets. ~Patrick On Thu, Mar 4, 2010 at 10:40 AM, Carlos carlosju...@gmail.com wrote: why? On Mar 3, 9:45 pm, Ryan Sarver rsar...@twitter.com wrote: This is an announcement that we

Re: [twitter-dev] Re: Deprecating /statuses/public_timeline resource on 4/5/10

2010-03-03 Thread Patrick Kennedy
, 2010 at 20:21, Patrick Kennedy kenned...@gmail.com wrote: Because you're suppose to use home_timeline now, which has everything public_timeline has, plus support for retweets. ~Patrick On Thu, Mar 4, 2010 at 10:40 AM, Carlos carlosju...@gmail.com wrote: why? On Mar 3, 9:45 pm, Ryan

[twitter-dev] Basic Auth deprecation coming

2009-12-09 Thread Patrick Kennedy
With Basic Auth deprecation coming in June 2010, will developers have a sand box way to use Basic Auth? I mean, it's handy to develop and understand code with Basic Auth, and then cut it over to oAuth. Any ideas?