1

私がやっている:

     $checkins = $facebook->api('/me/checkins', 'get');       
      for( $i = 0; $i < count ($checkins['data']); $i ++)
      { //printing the info here
}

そして、チェックインID、ID、名前、ID、チェックインを行った場所の名前と場所、チェックインに使用されたアプリケーション、チェックインが行われた日時の配列を取得しています完了..各チェックインに添付した写真以外のすべて..

取得している配列の例を次に示します。

Array
(
    [0] => Array
        (
            [id] => 1922426782905
            [from] => Array
                (
                    [name] => Myname
                    [id] => 14111407
                )

            [place] => Array
                (
                    [id] => 167250246640777
                    [name] => Francap
                    [location] => Array
                        (
                            [street] => 39 Main Street
                            [city] => NY
                            [country] => US
                            [zip] => 11036
                            [latitude] => 40.47725
                            [longitude] => -3.67557
                        )

                )

            [application] => Array
                (
                    [name] => Facebook for Android
                    [id] => 350682231728
                )

            [created_time] => 2011-05-16T08:16:57+0000
        )






...}

ご覧の通り写真はありません。

これらの写真を取得する方法はありますか?

ありがとうございます!

4

1 に答える 1