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.
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?
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?
Below is an excerpt from the pretty standard Facebook post code I'm using;
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
sharingURL, @"link",
sharingTitle, @"name",
@" ", @"caption",
description, @"description",
actions, @"actions",
picture, @"picture",
nil];
[facebook dialog:@"feed" andParams:params andDelegate:self];
Note that the images I'm linking are roughly 250x250px JPGs, if that helps.
EDIT: 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.
Thanks in advance!
Uploading HD Photos and Videos on Facebook for iOSGo to Settings & Privacy and tap the arrow to expand the menu. Choose Settings. Under the Preferences section select Media to go to the Videos and photos settings page. To upload videos in HD on Facebook, ensure Video quality is set to Optimised.
Also, if you use Facebook iPad App to upload photos, make sure you have 'Upload HD' option turned on in Facebook iPad App -> Menu (upper left corner) -> Settings -> Videos and Photos -> Upload HD.
may be these link useful to you :
http://www.raywenderlich.com/1488/how-to-use-facebooks-new-graph-api-from-your-iphone-app
http://www.raywenderlich.com/1578/how-to-get-a-user-profile-with-facebooks-new-graph-api-from-your-iphone-app
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With