[twitter-dev] Re: New API Console Documentation updates on dev.twitter.com

2011-05-04 Thread Robbie Coleman
Wish Google groups had a Like button, because I most definitely like what 
y'all have done here.

THANKS!

+100 ;-}

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Update

2011-01-07 Thread Robbie Coleman
@Sheikh145: seriously...?

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Search API from_user_id doesn't match up with the proper Twitter user_id

2010-12-22 Thread Robbie Coleman
I think twitter's response to this call to arms should be the HTTP Status 
Code: 420 - Chill

;-}

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Re: Verify twitter with ASP.NET

2010-12-14 Thread Robbie Coleman
Well I guess you have not provided enough details about what your app is 
expected to do.

;-}

-- robbie

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Verify twitter with ASP.NET

2010-12-12 Thread Robbie Coleman
It is totally possible Chief, but it just seems a bit overkill if all
you want is to get a valid twitter screen name.


If you are asking a user to authorize your app, IMHO, most users will
expect something in return. My thoughts are to provide the most
transparency to users while also providing the least friction to them.


What about the no-auth call suggestion I made? Seems simpler for you
and the user. Doesn't it?


hth,
-- robbie

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Trying to get followers, fails

2010-12-10 Thread Robbie Coleman
In order for you to make OAuth-less api calls, the end point must not
require auth (which this one does not), and you need a different base
URL.


Instead of the http://api.twitter.com/1 as the base URL, try using
http://twitter.com


Like this:
http://twitter.com/statuses/followers.xml?screen_name=noradio



which works for me without any prompts for authentication.


For a great online testing console, I highly recommend apigee:
http://app.apigee.com/console/twitter



It is hands down the best interface online to browse the full twitter
api.

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Verify twitter with ASP.NET

2010-12-10 Thread Robbie Coleman
You can use the users/show endpoint and pass the screen_name param for
what your user submits.


Here is an example no-authentication request to verify my company's
screen name gravity:
http://app.apigee.com/console/apigee-console-snapshots-129117960_ad72eb6f-05b5-4b31-b4a4-914777b2357b/rendersnapshotview

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] followers/ids result missing next_cursor and previous_cursor

2010-12-09 Thread Robbie Coleman
There is a previous post about this from 9/2010 without any response
and I feared reply there would go unnoticed, so here is a new post
(sorry)


I cannot get a response json or xml that contains the documented
next_cursor and previous_cursor. And without these, there is no way to
get the full list for users with more followers than the API will
return in a single response. Here are two example twurl links to
illustrate this issue:

- json for user_id 158414847 (@TheDailyShow): long_twurl_link
- xml for user_id 158414847 (@TheDailyShow): another_long_twurl_link
Here are the results (abridged):
json:

[ 14784309, 223112592, 184849648, 147520179, 210794450, 221171315,
169841576, 208912350, 106867628,

... 7384292,
7203292,
6633982,
6609302,
6369362,
616113
]


xml:
?xml version=1.0 encoding=UTF-8? ids id14784309/id
id223112592/id id184849648/id id147520179/id

id210794450/id
!-- ... --
id7203292/id id6633982/id id6609302/id id6369362/id
id616113/id

/ids


As you can see, neither have the cursor fields. This is now a
showstopper for my current project and I need a solution fast. Any
workarounds out there would be very helpful as I cannot find a way
around this at all, but I cannot imagine that all apps out there are
just as busted as mine right now.


Thanks,
-- robbie

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Introduce yourself!

2010-12-09 Thread Robbie Coleman
I'm Gravity.com's Software Cleric  Social Shaman


I am responsible for plugging our services into Twitter and Facebook to
help bring you the things on the Internet that are the most interesting
to you.


We use Java for our back-end processing systems and PHP for our
front-end sites and services.


Thanks to all of my fellow API hackers out there! And thank you twitter
for staying open!


-- robbie

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: followers/ids

2010-12-09 Thread Robbie Coleman
I created a new post for this issue just because it's still broken, and
I feared that only replying here would go unnoticed.
http://j.mp/hY1GBh

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] followers/ids result missing next_cursor and previous_cursor

2010-12-09 Thread Robbie Coleman
I should have mentioned that my requests included the cursor=-1 in them
already.

The twurl links I provided may not work for anyone but me (just learned of
this limitation of twurl), but if you check the url, you'll see the cursor
param included and the value associated to it to be -1.

I also found that this only occurs when using an authenticated get.

Thanks,
-- robbie
~~ sent via me Google phone ~~
On Dec 9, 2010 7:12 AM, Taylor Singletary taylorsinglet...@twitter.com
wrote:

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] followers/ids result missing next_cursor and previous_cursor

2010-12-09 Thread Robbie Coleman
Yes I have. I only used twurl as an attempt to share the example, but my
tests were with twitter4j. I have the full source and viewed both the
request and the response.

Thank you for these alternative consoles. I will try them when I get to my
office today. Do either of them support signing the request for OAuth? That
is a tricky little bugger to pull off in a CLI. ;-}

Thanks,
-- robbie
~~ sent via me Google phone ~~
On Dec 9, 2010 8:04 AM, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 The Twurl console on dev.twitter.com is more dream than reality.

 Have you tested this in an environment that is not our developer console?

 The console version of Twurl is also very useful:
 http://github.com/marcel/twurl
 Apigee's console is the best web-based one available:
 http://app.apigee.com/console/twitter

 Taylor

 On Thu, Dec 9, 2010 at 7:57 AM, Robbie Coleman rob...@robnrob.com wrote:

 I should have mentioned that my requests included the cursor=-1 in them
 already.

 The twurl links I provided may not work for anyone but me (just learned
of
 this limitation of twurl), but if you check the url, you'll see the
cursor
 param included and the value associated to it to be -1.

 I also found that this only occurs when using an authenticated get.

 Thanks,
 -- robbie
 ~~ sent via me Google phone ~~
 On Dec 9, 2010 7:12 AM, Taylor Singletary taylorsinglet...@twitter.com

 wrote:

 --
 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:
 http://groups.google.com/group/twitter-development-talk


 --
 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:
http://groups.google.com/group/twitter-development-talk

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] followers/ids result missing next_cursor and previous_cursor

2010-12-09 Thread Robbie Coleman
@Taylor: That web-based tool is amazing! Thank you!


I made the call from apigee using the credentials I used in my unit
test last night (that failed to return cursor fields) and right now it
is successfully receiving these cursor fields. I just got into the
office (late night hacking) and will fire up my unit tests to see if
there too I get the cursors.


Your help and attention to this post have been great sir. Kudos!


-- robbie

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] followers/ids result missing next_cursor and previous_cursor

2010-12-09 Thread Robbie Coleman
Problem (mostly) found!


The fact that the issues lies within my incorrect usage of the client
library I am using (twitter4j) and that my test case for using
something besides twitter4j was based on our broken twurl client AND
that both of these clients returned similar results missing the cursor
fields was enough of a confirmation for me in the wee hours last night.


Problem:
twitter4j provides a factory for obtaining a twitter client reference
that can accept OAuth credentials, and if you call the method to get
followers without specifying a twitter user id, it will pass the
credentials own user id in it's place. My most recent project required
me to retrieve followers of a user without that user's credentials and
I never refactored my code to explicitly pass the user id into the
method to get followers, but since my implementation expected
credentials, it utilized an account we fall back to which happens to
have less than a page size of followers. So when I was expecting the
followers of the twitter id I used in my test, I was actually getting
just the followers of our own development account.


Not knowing this error on my part, I went to twurl to compare my
findings and was convinced the API call itself when the results were
also missing the cursor fields. I did notice that the follower ids were
different that those returned in my unit test, but I attributed this to
the paging not being deterministic.


Solution:
I resolved my bug by simply using the available overload for the get
follower method that accepts the user id.


Yeah... it was that simple. I truly appreciate the support I received
here in this group and only wish that the other API I code against
whose site rhymes with Ace-book was even 50% as responsive and
helpful. ;-}

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Can our twitter app call /oauth/revoke?

2010-04-21 Thread Robbie Coleman
Here is why I think this *is* in fact useful:
When you enter a room that is dark, you look for a light. To turn on
this light, you usually look for a switch near this light. Later if
you leave this room (and you're aware of green ideas..) you would
probably want to turn off this light. Wouldn't you expect to be able
to do this by going to that same switch and reverting it back to its
previous state?

I do not think it is a good user experience to provide them a means to
connect from our site without providing them a means to revoke/remove
this connection from the same place.

Wouldn't you agree..?

--
robbie

On Apr 20, 6:36 pm, Abraham Williams 4bra...@gmail.com wrote:
 There is no oauth/revoke method. Personally I don't see much utility in one
 except for keeping /settings/connections less cluttered.

 Abraham





 On Tue, Apr 20, 2010 at 18:15, Robbie Coleman rob...@gravity.com wrote:
  I do not see it documented, and dev.twitter.com/doc is throwing 403's on
  searches, but I do see that your own 
 http://twitter.com/settings/connections; Revoke Access links call this
  on the click event.

  I am trying to provide our users a clean UI for managing all of their OAuth
  enabled networks/sites, and twitter is one of those. Both Facebook and
  Google (their OAuth contact API) provide API calls to revoke a user's
  access_token/session_key.

  Thanks,
  Robbie Coleman
  Software Cleric  Social Shaman
  Gravity

 --
 Abraham Williams | Developer for hire |http://abrah.am
 PoseurTech Labs | Projects |http://labs.poseurtech.com
 This email is: [ ] shareable [x] ask first [ ] private.

 --
 Subscription 
 settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en