How to create facebook wall posts and add a mesh version of the image

We use the facebook graph API http://developers.facebook.com/docs/reference/api/post/ and add a parameter picture. Our image is a 30x30 pixel image that exactly matches the size of the facebook web version. However, the image will be pixelated when using the FB mobile application on iPhone4 (retina display).

Is there a way to post a 60x60 high resolution image, but always do it always at 30x30 for messages on your facebook wall?

+3
source share
3 answers

, , "", , . , , , .... , 30x30 90x90. 60x60 90x90. .

. .

  • 2-5px .

  • , . . . Photoshop ( ). Marquee, . . ? 90x90, ? (, , 180x180, )

  • 9090. 30x30 , , 90x90. URL. . , , , , SDK , , . , . , , , " ". , , , . , , .

, : png : 144ppi 90 x 90. , 90x90 ( ). . , adobe, ) - , "save as...", ppi. , , , , , 500% .

(180x180) image@2x.png image-large.png < - ( ). .

, :

  • - " " , , FB , -. -. ( - FB... , , SDK.. !...

  • HTML : HTML , FB, ....

    • <img class="img" src="http://platform.ak.fbcdn.net/www/app_full_proxy.php?app=153675474666495&amp;v=1&amp;size=z&amp;cksum=773bba91f6146b2463eed0a0bb77dc42&amp;src=http%3A%2F%2Fwww.thumbwizards.com%2Fspeakinapps%2Fgraphics%2Fboxed%2Faussie.png" alt="">

:

  • HTML5 javascript -?

  • , URL- ( , URL- .) , , URL- , FB . ( , ), , -, , ( , )... , .

, , - .

  • - , : [http://platform.ak.fbcdn.net/www/app_full_proxy.php], php , , , ?

  • - , ?

, , . ... , Sulf, 30x30 90x90. UGLY!.

.. - , !

+3

apple , ios, , -i.e

sampleImag.png-57 * 57 (), 163 (DPI) sampleImag@2x.png - 114 * 114 (), 326 (DPI), , , iphone 4 .

+2

Just point your code to a larger image, and Facebook will take care of everyone else.

0
source

Source: https://habr.com/ru/post/1796048/


All Articles