ruby - Get all Friends using FQL -


my code here

query = "select uid user " +         "where uid in (" +         "  select uid2 friend uid1 = #{fb_user_id}" +         ")"  url = "https://graph.facebook.com/fql?q=#{query}&access_token=#{fb_access_token}" escape_url = uri::escape(url) uri = uri.parse(escape_url)  # configure http settings hit url. http = net::http.new(uri.host, uri.port) http.use_ssl = true http.verify_mode = openssl::ssl::verify_none  request = net::http::get.new(uri.request_uri) response = http.request(request) # extract response body. response = json.parse(response.body) 

it return only

10 friends

i want extract all friend how can any other way extract friends list please 1 me

unless using v1.0 application api call return friends using application.

friend list returns friends use app: list of friends returned via /me/friends endpoint limited list of friends have authorized app.

https://developers.facebook.com/docs/apps/changelog

this applies fql friend table well.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -