$http
.get('https://graph.facebook.com/v2.5/me/picture', {
headers: {'Content-Type': 'application/octet-stream'},
params: {
access_token: loginResponse.authResponse.accessToken,
width: 50,
height: 50
}
})
.success(function(thumbnailB64) {
console.log(thumbnailB64);
});
It's retrieve gibberish instead of base64.
What i am doing wrong? it's not working.
please help. i need to retrieve base64 of remote image.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.