I'm creating a Facebook post with a photo with the following code:
FB.api(
'/me/photos',
'POST',
{"url": imagem,"message": texto_publicaco},
function(response) {
alert("Postagem criada");
}
);
The variable imagem
contains the URL to where I uploaded the site server I'm working on. The image is in JPG and the server loads normally.
But when I do the post on facebook the quality of the image drops a lot.
Is there any way to improve even a little the quality of the image that is loaded?