Skip to content

Instantly share code, notes, and snippets.

@henare
Created May 23, 2014 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henare/b49b795ba1fec4c4aa4f to your computer and use it in GitHub Desktop.
Save henare/b49b795ba1fec4c4aa4f to your computer and use it in GitHub Desktop.
require 'open-uri'
require 'json'
# Grab a signed URL from the API console for the group you want: http://www.meetup.com/meetup_api/console/?path=/2/members
url = ''
results = JSON.parse(open(url).read)
results['results'].each do |r|
if r['other_services'] && r['other_services']['twitter']
puts "https://twitter.com/#{r['other_services']['twitter']['identifier']}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment