• [Facebook API 2.0]페이스북 사용자 프로필 사진 가져오기

     꽤나 헤매던 부분이긴 한데, 나같은 경우는 페북 자바스크립트 API를 사용해서 API를 호출하고, 콜백에서 서버로 값을 넘겨주는 방식을 취했다. 다좋은데 사용자 프로필 사진을 어떻게 가져오지.. 보니깐 작은 사진밖에 없고 해서 customized size 를 가져오는데 /{user-id}/picture 는 먹지 않더라. 가까스로 찾아보니  /me?fields=picture.width(160).height(160).type(square)  이를 사용하면  {  “picture”: {    “data”: {      “height”: 160,       “is_silhouette”: false,       “url”: “https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn1/t1.0-1/p160x160/10252028_847314475282860_3647141154237048574_n.jpg“,       “width”: ...

    Read More