foursquareのapiを使用して画像urlを作成したいのですがうまくいきません。仮に以下のデータで画像のurlを作成するにはどうしたら良いのでしょうか、ご教示願います。
試したこと
prefixとsuffixを足して検索したところ、This XML file does not appear to have any style information associated with it. The document tree is shown below.
とエラーが出ました。
Json
1{ 2 "meta": { 3 "code": 200, 4 "requestId": "5997070d6a60717704801060" 5 }, 6 "response": { 7 "photos": { 8 "count": 1, 9 "items": [ 10 { 11 "id": "51e4151c498e60b5d17bc721", 12 "createdAt": 1373902108, 13 "source": { 14 "name": "Instagram", 15 "url": "http://instagram.com" 16 }, 17 "prefix": "https://igx.4sqi.net/img/general/", 18 "suffix": "/1022386_wEd7VXnWzp5lajvRLtAPunoiufDSIq8PMEtEuIH2Tzg.jpg", 19 "width": 612, 20 "height": 612, 21 "user": { 22 "id": "123456", 23 "firstName": "John", 24 "lastName": "Doe", 25 "gender": "male", 26 "photo": { 27 "prefix": "https://igx.4sqi.net/img/user/", 28 "suffix": "/YXNQ5O4TLYSNHMKY.jpg" 29 } 30 }, 31 "checkin": { 32 "id": "51e4151b498ea66547febfaf", 33 "createdAt": 1373902107, 34 "type": "checkin", 35 "timeZoneOffset": -240 36 }, 37 "visibility": "public" 38 } 39 ], 40 "dupesRemoved": 0 41 } 42 } 43}
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。