get facebook friends data and save them as json file
first get require koala library for facebook interaction
get an access token with "userfriends" permission for any application you have
then use the script, it should get all facebook friends pages and collect all
of them into an array and save them to a file as json format,
also you can import 'psych' and save them as YAML file using
toyaml instead of to_json ;) that was easy huh?
Written by Emad Elsaid
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#