Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Experimenting with SiteLookups on the console
def lookup_url(ident); "{ident}"; end
def save_result(ident, result); puts Hpricot(result).at(:title).inner_text; end
def logger; Rails.logger; end
def name; 'console'; end
include Point::SiteLookup
perform_lookup! 'samstokes'
# console is querying
# @samstokes' (Sam Stokes) most faved tweets

This comment has been minimized.

Copy link

ept commented Mar 20, 2011

wow, awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.