Re: [twitter-dev] Adding twitter message

2010-10-04 Thread Knutsford Software
Thanks I will try changing $twitterObj = new EpiTwitter($consumer_key, $consumer_secret); I will also try and turn php errors on. I tried last week but it didn't do anything Pam - Original Message - From: Scott Wilcox sc...@dor.ky To: twitter-development-talk@googlegroups.com

Re: [twitter-dev] Adding twitter message

2010-10-04 Thread Knutsford Software
I am using PHP Version 5.1.6 and I now get the following Fatal error: Call to undefined function json_decode() in /var/www/vhosts/pub-rooms.co.uk/httpdocs/updates/company/lib/EpiTwitter.php on line 41 So it looks as though json isn't installed on the server. Thanks I will get the site

[twitter-dev] Re: add list members

2010-10-04 Thread Ken D.
Cool. You could visit the tracker page for this issue, http://code.google.com/p/twitter-api/issues/detail?id=1884 and star the issue to help get it fixed sooner. This has got to be one of the easiest Twitter bugs to fix. Ken On Oct 3, 6:08 pm, Damon Clinkscales sca...@pobox.com wrote: On Sun,

Re: [twitter-dev] bidirectional relationship

2010-10-04 Thread Thomas Mango
Ashwin, As far as I know, you can't do this in a single API call. You can, however, call /friends/ids and /followers/ids and use the intersection of the two arrays to find what you're looking for. Relevant API documentation: http://dev.twitter.com/doc/get/friends/ids

[twitter-dev] bidirectional relationship

2010-10-04 Thread ashy
Hi All, As we can retrieve friends and followers of the user using the twitter rest api, can we also retrieve users who are both friends and followers of the user at the same time (bidirectional relationship) using the twitter rest api? Any ideas? thanks ashwin -- Twitter developer

[twitter-dev] Re: Streaming API test: Adding new_id field to statuses at 17:00 UTC Sept 29

2010-10-04 Thread Walter Santos
Hi, John Does Twitter still plan to implement backfill support in streaming API? In an older post from Mark McBride (April, 2010), he said: To alleviate some of the concerns raised in this thread we thought it would be useful to give more details about how we plan to generate IDs ... ... 4) We

[twitter-dev] ways to authorize users other then oAuth and xAuth?

2010-10-04 Thread sir pelidor
Greeting, I have an app that needs to update its' member's twitter status as well as status for other social-network sites in a scheduled manner. For which I found it very difficult to implement it using oAuth or xAuth, therefore I seek for advise from fellow developers. Detail of the workflow:

Re: [twitter-dev] Adding twitter message

2010-10-04 Thread Ross Tweedie
Hi Pam, Like you I've only recently started using the Twitter API, but it seems pretty straight-forward, and it can be run from a local server. In my case I'm using the OAuth authentication to send tweets from a website. If you are having issues turning on the PHP errors for the entire server,

Re: [twitter-dev] Adding twitter message

2010-10-04 Thread Ross Tweedie
Just incase it helps, here is a work around for older versions of php: http://my.php.net/manual/en/function.json-decode.php#80606 Hope that helps. On 4 October 2010 09:43, Knutsford Software i...@knutsford-software.co.uk wrote:  I am using PHP Version 5.1.6 and I now get the following

Re: [twitter-dev] ways to authorize users other then oAuth and xAuth?

2010-10-04 Thread Thomas Mango
OAuth will work fine for this. Once a user authorizes your application, you store their access key/secret. Using your client's key/secret and the user's key/secret, you can sign a request to Twitter on behalf of that user. Twitter's OAuth documentation: http://dev.twitter.com/pages/auth sir

Re: [twitter-dev] Adding twitter message

2010-10-04 Thread Knutsford Software
Thanks. That looks just the job Pam -- 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 Change your membership to this group:

Re: [twitter-dev] Re: Install twurl without root access?

2010-10-04 Thread TJ Luoma
The key to getting this to work is making sure that GEM_HOME is set to somewhere you have write access too: Here is it failing: $ gem install twurl ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory. [1]

[twitter-dev] Why there isn't 'VERSION' in API URL of OAuth?

2010-10-04 Thread Bronco
Hi,everyone~ I've noticed that the API URL of OAuth is something like http:// api.twitter.com/oauth/request_token, it didn't contain the VERSION, which was different from others. Does twitter have any further plan to modify the OAuth API URL of adding the VERSION, like

Re: [twitter-dev] Why there isn't 'VERSION' in API URL of OAuth?

2010-10-04 Thread Taylor Singletary
Hi Bronco, Authentication ISN'T the API. The API is versioned, but even version 2 of the API might still require our OAuth 1.0a implementation. Think of the REST API as a set of resources. Version 1 of our REST API describes certain resources, responses, and development patterns. How you

[twitter-dev] Re: User_Timeline - include_rts not working

2010-10-04 Thread timrnicholson
Well, I thought i had this problem solved. I am using a library called twitteroauth and it was stripping off the include_rts=true. I finally figured out that include_rts needed to be placed into an arguments array instead of being in the request URL. So once I got the include_rts parm passed to

[twitter-dev] Got rejected to be on Twitter whitelist and i'm not sure why

2010-10-04 Thread Theswalker
I was rejected just now and i'm not sure why really. I read the link they sent me and i comply with all of the requests. I have a caching server that updates users latest tweets that puts that information in a database. When someone visits a users profile page, i return the cached results instead

Re: [twitter-dev] Got rejected to be on Twitter whitelist and i'm not sure why

2010-10-04 Thread Taylor Singletary
There are many options with the Twitter API today. There are a number of streaming-based products, like the core Streaming API, User Streams, and Site Streams. Streaming technologies give developers alternate implementation paths to monitor tweets of certain users, certain keyword searches, and

[twitter-dev] Re: Got rejected to be on Twitter whitelist and i'm not sure why

2010-10-04 Thread Theswalker
When you say if your API calls are executed from the perspective of a member (represented by an access token) Do you mean require the user to pass username and password credentials to get updates? On Oct 4, 1:05 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: There are many options

Re: [twitter-dev] Got rejected to be on Twitter whitelist and i'm not sure why

2010-10-04 Thread M. Edward (Ed) Borasky
The one weak link in Twitter's current offering is the ability to do deep searching into historical tweet data. As far as I know, the only way one can do that at present is via Topsy's (beta) search, and their business model is, shall we say, not clear. ;-) -- M. Edward (Ed) Borasky

Re: [twitter-dev] Re: Got rejected to be on Twitter whitelist and i'm not sure why

2010-10-04 Thread Taylor Singletary
I don't mean that, strictly, no. Most Twitter API calls have the concept of a current user -- in basic auth, that concept of a current user was indicated by a valid username and password associated with each API call. Our most employed authorization form at this time is OAuth 1.0a, which exchanges

Re: [twitter-dev] Re: User_Timeline - include_rts not working

2010-10-04 Thread Michał Łowicki
I'm getting the same issue - http://groups.google.com/group/twitter-development-talk/browse_thread/thread/3c13f89ac3c5a945.Still without any solution :( 2010/10/4 timrnicholson timrnichol...@gmail.com Well, I thought i had this problem solvIed. I am using a library called twitteroauth and it

[twitter-dev] Re: User_Timeline - include_rts not working

2010-10-04 Thread timrnicholson
Further note that in testing, if I set the count parameter to 1 to return a single record and page through the friends_timeline, I actually get certain pages that return no data. i.e. I can page through a single tweet at a time and still get some responses that are empty. So the API is clearly

[twitter-dev] Re: Got rejected to be on Twitter whitelist and i'm not sure why

2010-10-04 Thread Theswalker
Great, thanks for your prompt response! On Oct 4, 2:01 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: I don't mean that, strictly, no. Most Twitter API calls have the concept of a current user -- in basic auth, that concept of a current user was indicated by a valid username and

[twitter-dev] twurl errors in cron

2010-10-04 Thread TJ Luoma
I'm getting the following error when running twurl -t /1/statuses/user_timeline/amazondeals.rss in a cron script: /home/luomat/.gem/ruby/1.8/gems/twurl-0.6.0/bin/../lib/twurl/configuration_controller.rb:2: uninitialized constant Twurl::AbstractCommandController (NameError) from

Re: [twitter-dev] twurl errors in cron

2010-10-04 Thread Taylor Singletary
Hi TJ, The shell environment in a cron job is not necessarily the same environment as when you execute scripts from your user account. Here's an article with some tips on debugging the running environment while in a cron job:

[twitter-dev] Tweet Button Problems

2010-10-04 Thread Megan Gay
I am not a developer, but when I asked for help from Twitter support, they directed me to ask this group my question. Here is my problem that I sent to Twitter support: I need help with the Tweet button. When I customize under URL to The URL for the page the button is on then tweet from it, it

Re: [twitter-dev] Re: Streaming API test: Adding new_id field to statuses at 17:00 UTC Sept 29

2010-10-04 Thread John Kalucki
I dug back to Mark's email for context, but I still can't puzzle out what Mark was referring to and what you are asking for. The answer might be buried somewhere in that 74 message thread. Could you restate your question? Does the count parameter do what you need? -John Kalucki

[twitter-dev] Re: Ultimately send my twitter followers direct messages from my application

2010-10-04 Thread Brian Sutorius
Our Automation Rules ( http://support.twitter.com/articles/76915 ) include guidelines for automating DMs when a user follows you. Specifically, we do not prohibit this behavior but we do not recommend it. The 250 DMs per day limit that Thomas mentioned is correct. Brian Sutorius On Oct 2, 11:25 

[twitter-dev] search results - how far does it go back

2010-10-04 Thread Quy
When try to search on results from a user like from:mashable, I only see results going as far back as 24 hours? I thought the archive went back further for a search. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:

[twitter-dev] Re: search results - how far does it go back

2010-10-04 Thread Tim Bull
The time window depends on how busy Twitter is as a whole - the search is not a fixed timeframe. On Oct 5, 7:16 am, Quy quyten...@gmail.com wrote: When try to search on results from a user like from:mashable, I only see results going as far back as 24 hours? I thought the archive went back

[twitter-dev] How long is it taking for support tickets to be reviewed and is it possible to expedite them?

2010-10-04 Thread Tim Bull
Our application (twitter.com/distlr) has had it's account suspended and I need this reviewed. I (think I) understand why it was suspended, which was stupidity on my part rather than anything malicious or bad on the part of the application itself. We follow a very lean start-up approach: * We

Re: [twitter-dev] How long is it taking for support tickets to be reviewed and is it possible to expedite them?

2010-10-04 Thread Taylor Singletary
Hi Tim, We looked into your request but unfortunately cannot expedite resolving it right now. In this case, the account used to post the tweets was suspended -- not your application. While there's obviously a good deal of overlap between API policy/enforcement and account policy/enforcement, this

[twitter-dev] Trying to get multiple related values working for the Twitter Button

2010-10-04 Thread Duncan Mackenzie
Hey folks, on my pages (like ...) I'm writing out a script reference that includes a via account and multiple twitter accounts in the related param and the related values don't seem to be picked up the script reference on that page linked above is

[twitter-dev] Re: How long is it taking for support tickets to be reviewed and is it possible to expedite them?

2010-10-04 Thread Tim Bull
Thanks Taylor, I appreciate you taking a look. It's interesting that the account is suspended, not the application. One side effect of this appears to be that while users who have authenticated continue to remain authenticated to our application, the OAuth API appears to be refusing to issue

Re: [twitter-dev] Trying to get multiple related values working for the Twitter Button

2010-10-04 Thread Matt Harris
Hey Duncan, What you are doing is correct. Up to two accounts can be recommended and are added the way you have coded. For example: data-related=twitter,twitterapi or: related=twitter,twitterapi If the account doesn't show as a related account when it should - which appears to be the

Re: [twitter-dev] Re: search results - how far does it go back

2010-10-04 Thread Matt Harris
Hey Quy, Search is focused on real-time relevant Tweets, so the index is fairly short. At the moment the index is ~5 days of relevant Tweets. I hope that answers your question, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Mon, Oct 4, 2010 at 1:32 PM, Tim Bull

[twitter-dev] Re: twitter streams API question

2010-10-04 Thread rakesh
Thanks John and Tom. Appreciate it. Rakesh On Sep 30, 6:33 pm, John Kalucki j...@twitter.com wrote: If the result set size per time period is below the rate limit, you get the full result set. Otherwise the part of the result set above the limit is discarded, and you get a notice to that

Re: [twitter-dev] Re: Help converting Basic Auth to oAuth

2010-10-04 Thread Abraham Williams
It might be the following but you can var_dump() $tweets and see the structure of it to be sure. foreach ($tweets as $tweet) { echo $tweet-status-text; } Abraham - Abraham Williams | Hacker Advocate | http://abrah.am Update: http://blog.abrah.am/2010/10/organizing-my-life.html