2015-06-25 28 views

回答

0

得到它(使用紅寶石):

results=HTTParty.get(base_url + "search?q=woody_allen&type=page&" + access_token) 

results["data"].each do |r| 
    v=HTTParty.get("https://graph.facebook.com/" + r['id'].to_s + "?fields=is_verified&" + access_token) 
    if v["is_verified"] == true 
    puts "#{r['id'].to_s} this is verified" 
    end 
end