以前、facebook graph apiを使ってサイズ変更された画像のデータの取得方法について書いたのですが、具体的な方法が何も書かれていなかったので、1エントリー。
「50px Wide×50px High」
https://graph.facebook.com/shaverm/picture?type=square |
「50px Wide×Heightは不定」
https://graph.facebook.com/shaverm/picture?type=small |
「100px Wide×Heightは不定」
https://graph.facebook.com/shaverm/picture?type=normal |
「200px Wide×Heightは不定」
https://graph.facebook.com/shaverm/picture?type=large |
縦と横を指定したい場合。
https://graph.facebook.com/shaverm/picture?width=40&height=60 |
これは結構便利。
0 コメント:
コメントを投稿