i use several types of url:
fb.api('/me?fields=cover', function(response) { fb.api('/{userid}?fields=cover', function(response) { fb.api('/{userid}/fields=cover', function(response) { but facebook id only. can user profile pic when code:
fb.api("/me/picture?width=180&height=180" how user's cover? thanks
when query cover picture, additional information returned object. have traverse through object , value of source.
fb.api('/me?fields=cover', function(response) { console.log(response.cover.source); }); always use console.log(object); see has got in it.
Comments
Post a Comment