Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display higher quality images for Facebook posts for iOS

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.

Post image and how it looks on FB

Thanks in advance!

like image 400
Madhu Avatar asked Mar 13 '12 04:03

Madhu


People also ask

How do I upload high quality photos to Facebook iOS?

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.

How do I upload high quality photos to Facebook from my iPad?

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.


1 Answers

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

like image 110
Rohit Wankhede Avatar answered Nov 08 '22 07:11

Rohit Wankhede