[twitter-dev] Re: bulk user show API

2010-03-13 Thread Martin Dudek
Good morning,

hope all are well.

I just ran into exactly the same problem this morning, assuming 1000
lookups referring to 1000 API calls (please consider making this more
clear in yout API doc, it seems really unclear that lookup means
single user lookup). I (twopular) am also api_whitelisted and could go
back to considering calling users/show 20.000 times an hour yet even
so I have this script ready I was so happy to read about the new users/
lookup method and took the extra efforts to implement against it.

As many of us I need to prepare for the search user ID - rest user ID
merging about to come and also want to clean twopular's database from
suspended users. I have around 9 million users in my db at the moment
so I really need something more effective than single user lookups.
For that the new bulk user lookup was just a perfect step towards a
solution so please consider increasing the call limitations for at
least api white_listed applications.

Greets and happy weekend

martin


Re: [twitter-dev] Search API...searching for videos

2010-03-13 Thread John Kalucki
Repeated automated queries like this should be done on the Streaming API.
You can track on words like youtube to grab various domains, track on
keywords that indicate a video URL extension, or, you could apply for the
Links stream and process all links however you'd like.

You should not start off by hitting the Search API. In most cases, your
results will be filtered for relevance. In the one case where relevance is
turned off -- soon it will be turned on.

-John Kalucki
http://twitter.com/jkalucki
Infrastructure, Twitter Inc.


On Fri, Mar 12, 2010 at 5:57 PM, eco_bach bac...@gmail.com wrote:

 Hi
 Currently in beta and viewable at http://www.tweetmasher.com, I am
 building a Twitter search application and slowly adding new features.
 One thing I would like to add is the ability to search for video
 links.

 Can anyone offer suggestions on what I would use in my search query?

 I assume the links would be mostly youtube videos.




[twitter-dev] Mass Unfollow

2010-03-13 Thread IDOLpeeps
Want to pare back on the number of people we follow.  How many friends
can one account unfollow at any one time and not get banned/suspend?

(I understand the spam team implemented a policy last August by which
accounts that unfollowed too many friends at a time got suspended.
Lost an account at the time by dong so before the policy was
announced.)

Thank you.


[twitter-dev] Re: Follow me on Twitter

2010-03-13 Thread Quy
Why don't you use the Tweetmeme follow button? It's pretty cool and
uses a pop-up:

http://blog.tweetmeme.com/2010/02/23/follow-button/

On Mar 5, 6:07 pm, Jaanus jaa...@gmail.com wrote:
 There are many ways, though, to implement the OAuth interface to sign
 in the user. Many sites (see getsatisfaction.com for an example) do it
 with a popup instead of a full page reload. This means that the main
 page stays whatever it is, and the Twitter stuff appears just in a
 small popup.

 rgds,
 Jaanus

 On Mar 5, 6:30 pm, AlexBeck alexbeck...@gmail.com wrote:

  Thanks all,

  this is what i feared.
  On Mar 3, 3:34 pm, Jaanus jaa...@gmail.com wrote:

   Twitter API lets youfollowand unfollow people. But, the user needs
   to login, and these days the fancy way to do login is through OAuth,
   which means a trip to twitter.com anyway.

   On Mar 2, 9:58 pm, AlexBeck alexbeck...@gmail.com wrote:

I am creating a project for a rather large client, and have run into a
twitter api question.  The client wants to create a followmeon
twitter bug on the page, but they do not want to land on any page
that is a twitter.com address?

is it possible to create an experience in a browser where someone can
choose tofollowanother twitter user without every going to the
twitter site?

thanks
alex


[twitter-dev] HTTP error handling when using jQuery and JSONP

2010-03-13 Thread Niklas Deutschmann

Hi,

Is this a good solution to the problem of missing HTTP error handling in 
JavaScript?


http://gist.github.com/331301

Summary:
Send the request with suppress_response_codes enabled, if the response 
indicates an authentication error, send it again without 
suppress_response_codes (making the browser's authentication dialog pop 
up), if it's some other error, display the error, otherwise, call the 
callback function.


(Yes, I know, I should switch to OAuth quite soon)

Niklas



[twitter-dev] Re: users/search api

2010-03-13 Thread twitterdoug
There's a bug in the API we just found. We're working on fixing it
ASAP. Thanks for reporting this!

-D

On Mar 11, 5:19 am, amitkr amitkumarv...@gmail.com wrote:
 Hi

 I am using users/search method to find people on twitter. But the
 order of results does not matches with that of twitters 'people
 find'.
 Moreover the order may or may not remain same between two consecutive
 calls to this method.

 Can I make the order of results consistent and same as that of 'people
 find' on twitter ??


[twitter-dev] Try our new Twitter and Facebook API to post, share, and track videos, photos, songs, events, links, documents and notes with friends on Facebook and/or Twitter

2010-03-13 Thread Emeka
Name: Tagxta Developer API
URL: http://groups.google.com/group/tagxta-developers
Description: The Tagxta Developer API enables the users of your
desktop, web, and mobile applications post, share, and track their
videos, photos, songs, events, links, documents and notes with their
friends on Facebook and/or Twitter

Website: www.tagxta.com
Twitter Page: www.twitter.com/tagxta
Facebook Page: www.facebook.com/tagxta
Support: supp...@tagxta.com


[twitter-dev] Re: bulk user show API

2010-03-13 Thread Martin Dudek
just saw the API doc is already clear now

 Users can, at most, look up 1000 users in an hour.

thx


[twitter-dev] Simple way to post from website via OAuth?

2010-03-13 Thread pbump
I use Twitter primarily to send updates from websites to particular
accounts. In other words, the Twitter account doesn't change.

I'm concerned that, with the phase-out of simple authentication, these
systems will break - but OAuth seems like too much overhead for a
connection that doesn't change.

Is there a simple method that can be embedded in a script (e.g., into
PHP) that will allow me to do this? Do I just need to authorize the
account with the application once?


[twitter-dev] Re: Try our new Twitter and Facebook API to post, share, and track videos, photos, songs, events, links, documents and notes with friends on Facebook and/or Twitter

2010-03-13 Thread Emeka
Correction to website links

Website: http://www.tagxta.com
Twitter Page: http://www.twitter.com/tagxta
Facebook Page: http://www.facebook.com/tagxta

On Mar 13, 10:28 am, Emeka eokw...@gmail.com wrote:
 Name: Tagxta Developer API
 URL:http://groups.google.com/group/tagxta-developers
 Description: The Tagxta Developer API enables the users of your
 desktop, web, and mobile applications post, share, and track their
 videos, photos, songs, events, links, documents and notes with their
 friends on Facebook and/or Twitter

 Website:www.tagxta.com
 Twitter Page:www.twitter.com/tagxta
 Facebook Page:www.facebook.com/tagxta
 Support: supp...@tagxta.com


Re: [twitter-dev] Introduce yourself!

2010-03-13 Thread Jesse Stay
I love this idea!  I'm @Jesse.  I run SocialToo.com.  I also wrote 2 books
for Facebook: I'm on Facebook--Now What??? and FBML Essentials.  I sold my
first Facebook app in just 6 weeks after writing it for a small sum, which
allowed me to go out on my own and start my own business.  I blog at
StayNAlive.com and really enjoy writing.

As for what I have built, SocialToo.com is my prize accomplishment right
now, but I've written numerous Facebook apps and Twitter apps for myself and
others and have consulted on the development of may as well.  I wrote a few
libraries on CPAN right now helping to authenticate users to Facebook and
Twitter in the Catalyst environment
(Catalyst::Authentication::Credentials::Twitter/Facebook).  I've been coding
in various languages since age 10, including BASIC, Pascal, C, C++, Java,
JSP/Servlets, PHP, and of course Perl.

In my past life I was on the original team for Freeservers.com, and have
worked in various software development capacities for companies like Media
General, BackCountry.com (I coded a lot of the front-end for what you see
now on SteepAndCheap.com), and UnitedHealth Group.  I like Perl.  vim FTW

As for what I'd like to see: Real time social graph activity, and DM APIs
:-)

Jesse

On Fri, Feb 19, 2010 at 1:20 PM, Abraham Williams 4bra...@gmail.com wrote:

 We have not had an introductions thread in a long time (or ever that I
 could find) so I'm starting one. Don't forget to add an answer to the tools
 thread [1](Gmail link [2]) as well.

 I'm Abraham Williams, I've been working with the Twitter API and this group
 since early 2008. I do mostly freelance Drupal and Twitter API integration
 and personal projects. I love seeing the creative projects developers build
 or integrate with the API and look forward to meeting many of you at Chirp.

 TwitterOAuth [3] the first PHP library to support OAuth is built and
 maintained by me, and will hopefully see a new release soon. I also built a
 fun Chrome extension [4] that integrates common friends and followers into
 Twitter profiles.

 The feature I would most like added to the API is a conversation method to
 get replies to a specific status.

 So. Who are you, what do you do, what have you built, and what feature do
 you most want to see added?

 @Abraham

 [1]
 http://groups.google.com/group/twitter-development-talk/browse_thread/thread/c7cdaa0840f0de84/
 [2] https://mail.google.com/mail/#inbox/12680cd0fa59011e
 [3]
 https://chrome.google.com/extensions/detail/npdjhmblakdjfnnajeomfbogokloiggg
 [4] http://code.google.com/p/twitter-api/issues/detail?id=142

 --
 Abraham Williams | Community Advocate | http://abrah.am
 Project | Out Loud | http://outloud.labs.poseurtech.com
 This email is: [ ] shareable [x] ask first [ ] private.
 Sent from Seattle, WA, United States



Re: [twitter-dev] Re: Introduce yourself!

2010-03-13 Thread Jonathan Markwell
Hi Ed,

http://snapbird.org does the kind of search you're looking for. All
done in javascript and the code is available at
http://github.com/remy/snapbird. Built by @rem

Jon.

On Sat, Mar 6, 2010 at 5:06 PM, M. Edward (Ed) Borasky zzn...@gmail.com wrote:
 I just had an interesting feature request from a user. It seems like
 it would be fairly difficult to do without access to the full
 database, but what she wants is to be able to limit a search to just
 the people she's following. For example, if she saw a link go by from
 someone and didn't remember who it was from, she'd like to be able to
 search for it.

 I can think of fairly easy ways to code it using the API, but I'm
 wondering if something like that could be built into the web app.




-- 
Jonathan Markwell
Engineer | Founder | Connector

Inuda Innovations Ltd, Brighton, UK

Web application development  support
Twitter  Facebook integration specialists
http://inuda.com

Organising the world's first events for the Twitter developer Community
http://TwitterDeveloperNest.com

Providing a nice little place to work in the middle of Brighton -
http://theskiff.org

Measuring your brand's visibility on the social web - http://HowSociable.com

mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953
skype: jlmarkwell | twitter: http://twitter.com/jot


[twitter-dev] Streaming API JSON Decode Double Errors?

2010-03-13 Thread briantroy
We are doing are last bit of testing before cutting over to the
streaming API and we see occasional errors:

PHP Warning:  [json] (json_encode_r) double INF does not conform to
the JSON spec, encoded as 0. in /root/src/justsignal-twitter-stream/
twitter-track-class.php on line 154
PHP Warning:  [json] (json_encode_r) double -INF does not conform to
the JSON spec, encoded as 0. in /root/src/justsignal-twitter-stream/
twitter-track-class.php on line 154


Seems pretty odd to me because we are decoding the JSON (to look for
limit messages) and then just popping the JSON onto a queue. If we
don't find an ID or a LIMIT we log the JSON - all of this happens
before the JSON encode ever happens.

We are getting 0 JSON logged (because it doesn't have an ID or LIMIT).

Anyone else seen this?

Thanks!

Brian Roy


Re: [twitter-dev] Streaming API JSON Decode Double Errors?

2010-03-13 Thread Andrew Badera
We can't answer your question for you since we have no idea what
you're receiving. What does the streaming response look like that your
consumer is tripping over? Capture it in association with log events.

∞ Andy Badera
∞ +1 518-641-1280 Google Voice
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Sat, Mar 13, 2010 at 5:23 PM, briantroy brian.cosin...@gmail.com wrote:
 We are doing are last bit of testing before cutting over to the
 streaming API and we see occasional errors:

 PHP Warning:  [json] (json_encode_r) double INF does not conform to
 the JSON spec, encoded as 0. in /root/src/justsignal-twitter-stream/
 twitter-track-class.php on line 154
 PHP Warning:  [json] (json_encode_r) double -INF does not conform to
 the JSON spec, encoded as 0. in /root/src/justsignal-twitter-stream/
 twitter-track-class.php on line 154


 Seems pretty odd to me because we are decoding the JSON (to look for
 limit messages) and then just popping the JSON onto a queue. If we
 don't find an ID or a LIMIT we log the JSON - all of this happens
 before the JSON encode ever happens.

 We are getting 0 JSON logged (because it doesn't have an ID or LIMIT).

 Anyone else seen this?

 Thanks!

 Brian Roy



[twitter-dev] Re: Streaming API JSON Decode Double Errors?

2010-03-13 Thread briantroy
Yep, that is what it is supposed to be doing. I'd have to log all the
json and then try to backtrack...

I'll have to turn up some logging and see if I can catch it.

Thanks...

On Mar 13, 3:58 pm, Andrew Badera and...@badera.us wrote:
 We can't answer your question for you since we have no idea what
 you're receiving. What does the streaming response look like that your
 consumer is tripping over? Capture it in association with log events.

 ∞ Andy Badera
 ∞+1 518-641-1280Google Voice
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me:http://www.google.com/search?q=andrew%20badera



 On Sat, Mar 13, 2010 at 5:23 PM, briantroy brian.cosin...@gmail.com wrote:
  We are doing are last bit of testing before cutting over to the
  streaming API and we see occasional errors:

  PHP Warning:  [json] (json_encode_r) double INF does not conform to
  the JSON spec, encoded as 0. in /root/src/justsignal-twitter-stream/
  twitter-track-class.php on line 154
  PHP Warning:  [json] (json_encode_r) double -INF does not conform to
  the JSON spec, encoded as 0. in /root/src/justsignal-twitter-stream/
  twitter-track-class.php on line 154

  Seems pretty odd to me because we are decoding the JSON (to look for
  limit messages) and then just popping the JSON onto a queue. If we
  don't find an ID or a LIMIT we log the JSON - all of this happens
  before the JSON encode ever happens.

  We are getting 0 JSON logged (because it doesn't have an ID or LIMIT).

  Anyone else seen this?

  Thanks!

  Brian Roy


[twitter-dev] Re: OAuth newbie question

2010-03-13 Thread IDOLpeeps
Thank you so much Taylor.  Can you believe that nowhere in the Twitter
API documentation can I find this crucial, yet very simple
instruction.  There are ample pointers to explanations of how to get
OAuth token, but absolutely no instructions I can find for what to do
once you obtain the token key and secret.

I tried very permutation of posting them along with the twitter REST
calls, but the one you suggested of posting the secrets as parameters
without values.  This single line instruction needs to be added to the
Twitter API documentation.

BTW: The php equivalent of url_escaped ()is urlencode().

Thanks much.

On Mar 7, 6:53 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 A lot of people have found my presentation on OAuth useful when trying
 to learn the ins and outs of the entire request cycle with an OAuth-
 protected API:http://bit.ly/oauth-zero-to-hero

 When accessing a protected resource with OAuth, the oauth_token and
 oauth_token_secret you receive become your access token. You include
 oauth_token as an OAuth parameter in your signature base string and
 authorization header, and then sign your entire OAuth request with a
 composite signing secret:

 {url_escaped(consumer_secret)}{url_escaped(oauth_token_secret)}

 Taylor

 On Mar 6, 2:55 pm, IDOLpeeps i...@idolpeeps.com wrote:

  I've overcome the nuances of generating the oauth signature.  It
  shocks me that the API documentation provides no clear indication of
  how to send the tokens along with an API call.  It's not even a PHP-
  specific question.  Simply put: Where do the oauth_token and
  oauth_token_secret get embedded in API call: As posted parameters?
  If so, with what parameter names?  Can anybody provide guidance?  I
  have seen many people ask this question, yet see no answer.

  As far as why one would want to use their own library vs. somebody
  else's, that's a question for the ages.  One specific answer is that
  many of us have created our own application-specific libraries that
  accommodate traditional http authentication and we'd like to keep our
  libraries when we add Oauth.  To do so, it's best to have an answer to
  this question.

  Thank you.