Note that there are some explanatory texts on larger screens.

plurals
  1. PODisplay higher quality images for Facebook posts for iOS
    primarykey
    data
    text
    <p>I'm using the Facebook SDK to allow users to share content through my app to their Walls. Its a pretty standard set-up with the Facebook SDK where a typical post will contain some text as well as an image to accompany the post. </p> <p>This all works fine, but my problem is that since Facebook resizes and converts the images as they see fit, the post images look a bit pixelated when viewed on a Retina display. Does anyone know whether there is a way to ensure that Facebook uses a higher quality image for this? </p> <p>Again, to clarify, the original images I'm using are high enough quality, but Facebook degrades them a little too much, and they end up not looking too good on a Retina display. Can we avoid this in some way? </p> <p>Below is an excerpt from the pretty standard Facebook post code I'm using;</p> <pre><code>NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys: sharingURL, @"link", sharingTitle, @"name", @" ", @"caption", description, @"description", actions, @"actions", picture, @"picture", nil]; [facebook dialog:@"feed" andParams:params andDelegate:self]; </code></pre> <p>Note that the images I'm linking are roughly 250x250px JPGs, if that helps. </p> <p><strong>EDIT</strong>: Added a sample image to clarify what I mean. I'm trying to see if there's a way to ask Facebook to use a high-res image for retina displays here. </p> <p><img src="https://i.stack.imgur.com/umFwg.jpg" alt="Post image and how it looks on FB"></p> <p>Thanks in advance!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload