Convert facebook graph api explorer data to javascript -


can me translate facebook graph api explorer output return fan_count variable in javascript?

i found answer

fb.api( '/me', 'get', {"fields":"fan_count"}, function(response) {   // insert code here } ); 

however, if wanted print fan_count console or save variable type console.log(response); says insert code here.


Comments