1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Answers
    2
    Vote Rating
    0
    appnewbie is on a distinguished road

      0  

    Default Answered: Getting Instagram API to display?

    Answered: Getting Instagram API to display?


    Hi,

    I'm having trouble getting a JSONP query to the Instagram API to display the photos returned. I'm not sure if it's an issue with the callback (which I don't really understand), or if it's to do with how I'm specifying the fields under config?

    The code I'm using is adapted from what I was using for a Flickr example (which was working fine), but I guess the different structure of the Instagram API is tripping me up.

    Here is the (non-working) code as it stands:

    Code:
    /**
     * This examples illustrates the 'List Paging' and 'Pull Refresh' plugins
     */
    Ext.setup({
        requires: [
            'Ext.data.Store',
            'Ext.List'
        ],
    
        glossOnIcon: false,
        icon: {
            57: 'resources/icons/icon.png',
            72: 'resources/icons/icon@72.png',
            114: 'resources/icons/icon@2x.png',
            144: 'resources/icons/icon@114.png'
        },
    
        phoneStartupScreen: 'resources/loading/Homescreen.jpg',
        tabletStartupScreen: 'resources/loading/Homescreen~ipad.jpg',
    
        onReady: function() {
    
            Ext.define('TweetStore', {
                extend: 'Ext.data.Store',
    
                config: {
                
                    fields: ['images.standard_resolution.url'],
          
                    autoLoad: true,
    
                    proxy: {
                        type: 'jsonp',
                        url:'https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&client_id=KEYHERE',
                        callbackKey: 'jsoncallback',
                             
                        reader: {
                            type: 'json',
                            rootProperty: 'data'
                        }
                    }
                }
            });
    
    
            Ext.define('TweetList', {
                extend: 'Ext.List',
    
                config: {
                    store: Ext.create('TweetStore'),
                    limit: 5,
                    disableSelection: true,
    
                    plugins: [
                        { xclass: 'Ext.plugin.ListPaging', 
                        autoPaging: true },
                        { xclass: 'Ext.plugin.PullRefresh' }
                    ],
    
                    emptyText: '<p class="no-searches">No tweets found matching that search</p>',
    
                    itemTpl: Ext.create('Ext.XTemplate',
                        '<div class="tweet">',
                        '<span "><img src="{images.standard_resolution.url}"></span>',
                        '</div>',
                             {
            
                        linkify: function(value) {
    
                    value = value.replace(/(http:\/\/[^\s]*)/g, "<a class=\"text\" target=\"_blank\" href=\"$1\">$1</a>");
                    value = value.replace(/(^|\s)@(\w+)/g, "<a class=\"text\" target=\"_blank\" href=\"http://www.twitter.com/@$2\"> @$2</a>");
                    value = value.replace(/(^|\s)#(\w+)/g, "<a class=\"text\" target=\"_blank\" href=\"http://twitter.com/#!/search/%23$2\"> #$2</a>");
                    
                    return value;
            }, 
            
    
    
            
        },
                        
    
                        {
                            
                            
                        }
                    )
                }
            });
    
    
    
    
    
                
                            var view = Ext.create('Ext.NavigationView', {
        fullscreen: true,
    
        items: [{
            title: 'First',
            items: [{
                xtype: 'button',
                text: 'Push a new view!',
                handler: function() {
                    //use the push() method to push another view. It works much like
                    //add() or setActiveItem(). it accepts a view instance, or you can give it
                    //a view config.
                    view.push(
                    {
                             xtype: 'container',
                xclass: 'TweetList',
                fullscreen: true,
                
                
                    });
                }
            }]
        }]
    });            
                
                
    
                
                
                
            }
        
    });

    Is the problem in how I'm trying to drill down to the image URL field?

    I have rootProperty: 'data'
    and

    fields: ['images.standard_resolution.url'],

    which I then reference in the itemTpl:

    '<span "><img src="{images.standard_resolution.url}"></span>',

    I thought maybe I was meant to map the fields like this, but it still doesn't work -

    fields: [
    {name: "standard_res_url", type: "string", mapping: "images.standard_resolution.url"}],

    '<span "><img src="{standard_res_url}"></span>',


    Or maybe the problem is with me the callback? -

    callbackKey: 'jsoncallback',

    Any help much appreciated!

    Cheers.

  2. Just got it working, I had to map the fields and also delete the callbackKey: 'jsoncallback',

    here's the working code:

    Code:
    /**
     * This examples illustrates the 'List Paging' and 'Pull Refresh' plugins
     */
    Ext.setup({
        requires: [
            'Ext.data.Store',
            'Ext.List'
        ],
    
        glossOnIcon: false,
        icon: {
            57: 'resources/icons/icon.png',
            72: 'resources/icons/icon@72.png',
            114: 'resources/icons/icon@2x.png',
            144: 'resources/icons/icon@114.png'
        },
    
        phoneStartupScreen: 'resources/loading/Homescreen.jpg',
        tabletStartupScreen: 'resources/loading/Homescreen~ipad.jpg',
    
        onReady: function() {
    
            Ext.define('TweetStore', {
                extend: 'Ext.data.Store',
    
                config: {
                
                    fields: [
            {name: "standard_res_url", type: "string", mapping: "images.standard_resolution.url"}],
          
                    autoLoad: true,
    
                    proxy: {
                        type: 'jsonp',
                        url:'https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&client_id=YOURKEY',
                   
                             
                        reader: {
                            type: 'json',
                            rootProperty: 'data'
                        }
                    }
                }
            });
    
    
            Ext.define('TweetList', {
                extend: 'Ext.List',
    
                config: {
                    store: Ext.create('TweetStore'),
                    limit: 5,
                    disableSelection: true,
    
                    plugins: [
                        { xclass: 'Ext.plugin.ListPaging', 
                        autoPaging: true },
                        { xclass: 'Ext.plugin.PullRefresh' }
                    ],
    
                    emptyText: '<p class="no-searches">No tweets found matching that search</p>',
    
                    itemTpl: Ext.create('Ext.XTemplate',
                        '<div class="tweet">',
                        '<span "><img src="{standard_res_url}"></span>',
                        '</div>',
                             {
            
                        linkify: function(value) {
    
                    value = value.replace(/(http:\/\/[^\s]*)/g, "<a class=\"text\" target=\"_blank\" href=\"$1\">$1</a>");
                    value = value.replace(/(^|\s)@(\w+)/g, "<a class=\"text\" target=\"_blank\" href=\"http://www.twitter.com/@$2\"> @$2</a>");
                    value = value.replace(/(^|\s)#(\w+)/g, "<a class=\"text\" target=\"_blank\" href=\"http://twitter.com/#!/search/%23$2\"> #$2</a>");
                    
                    return value;
            }, 
            
    
    
            
        },
                        
    
                        {
                            
                            
                        }
                    )
                }
            });
    
    
    
    
    
                
                            var view = Ext.create('Ext.NavigationView', {
        fullscreen: true,
    
        items: [{
            title: 'First',
            items: [{
                xtype: 'button',
                text: 'Push a new view!',
                handler: function() {
                    //use the push() method to push another view. It works much like
                    //add() or setActiveItem(). it accepts a view instance, or you can give it
                    //a view config.
                    view.push(
                    {
                             xtype: 'container',
                xclass: 'TweetList',
                fullscreen: true,
                
                
                    });
                }
            }]
        }]
    });            
                
                
    
                
                
                
            }
        
    });

  3. #2
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Answers
    2
    Vote Rating
    0
    appnewbie is on a distinguished road

      0  

    Default Here is the data Instagram is returning

    Here is the data Instagram is returning


    The data from the Instagram API I'm trying to display via JSONP -


    [CODE]HTTP/1.1 200 OK
    Content-Language:
    en
    X-Ratelimit-Limit:
    5000
    Vary:
    Accept-Language, Cookie
    Date:
    Tue, 17 Apr 2012 01:00:53 GMT
    Content-Length:
    15308
    X-Ratelimit-Remaining:
    4984
    Content-Type:
    application/json; charset=utf-8
    Connection:
    close
    Server:
    nginx/0.8.54

    {
    "meta": {
    "code": 200
    },
    "data": [
    {
    "tags": [],
    "location": {
    "latitude": 48.85983,
    "longitude": 2.28138
    },
    "comments": {
    "count": 0,
    "data": []
    },
    "filter": "Normal",
    "created_time": "1334623873",
    "link": "http://instagr.am/p/JgFQiUr-Id/",
    "likes": {
    "count": 1,
    "data": [
    {
    "username": "raerae14209",
    "profile_picture": "http://images.instagram.com/profiles/profile_27031236_75sq_1334351060.jpg",
    "id": "27031236",
    "full_name": "raerae14209"
    }
    ]
    },
    "images": {
    "low_resolution": {
    "url": "http://distilleryimage9.instagram.com/6e429950882711e1a9f71231382044a1_6.jpg",
    "width": 306,
    "height": 306
    },
    "thumbnail": {
    "url": "http://distilleryimage9.instagram.com/6e429950882711e1a9f71231382044a1_5.jpg",
    "width": 150,
    "height": 150
    },
    "standard_resolution": {
    "url": "http://distilleryimage9.instagram.com/6e429950882711e1a9f71231382044a1_7.jpg",
    "width": 612,
    "height": 612
    }
    },
    "caption": {
    "created_time": "1334623882",
    "text": "HAHA this picture always gets me",
    "from": {
    "username": "teddda",
    "profile_picture": "http://images.instagram.com/profiles/profile_15163063_75sq_1323594621.jpg",
    "id": "15163063",
    "full_name": "Terra Lampi"
    },
    "id": "171159987977970423"
    },
    "type": "image",
    "id": "171159912438555165_15163063",
    "user": {
    "username": "teddda",
    "website": "",
    "bio": "I enjoy seeing things from the perspective of others

  4. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Answers
    2
    Vote Rating
    0
    appnewbie is on a distinguished road

      0  

    Default


    Just got it working, I had to map the fields and also delete the callbackKey: 'jsoncallback',

    here's the working code:

    Code:
    /**
     * This examples illustrates the 'List Paging' and 'Pull Refresh' plugins
     */
    Ext.setup({
        requires: [
            'Ext.data.Store',
            'Ext.List'
        ],
    
        glossOnIcon: false,
        icon: {
            57: 'resources/icons/icon.png',
            72: 'resources/icons/icon@72.png',
            114: 'resources/icons/icon@2x.png',
            144: 'resources/icons/icon@114.png'
        },
    
        phoneStartupScreen: 'resources/loading/Homescreen.jpg',
        tabletStartupScreen: 'resources/loading/Homescreen~ipad.jpg',
    
        onReady: function() {
    
            Ext.define('TweetStore', {
                extend: 'Ext.data.Store',
    
                config: {
                
                    fields: [
            {name: "standard_res_url", type: "string", mapping: "images.standard_resolution.url"}],
          
                    autoLoad: true,
    
                    proxy: {
                        type: 'jsonp',
                        url:'https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&client_id=YOURKEY',
                   
                             
                        reader: {
                            type: 'json',
                            rootProperty: 'data'
                        }
                    }
                }
            });
    
    
            Ext.define('TweetList', {
                extend: 'Ext.List',
    
                config: {
                    store: Ext.create('TweetStore'),
                    limit: 5,
                    disableSelection: true,
    
                    plugins: [
                        { xclass: 'Ext.plugin.ListPaging', 
                        autoPaging: true },
                        { xclass: 'Ext.plugin.PullRefresh' }
                    ],
    
                    emptyText: '<p class="no-searches">No tweets found matching that search</p>',
    
                    itemTpl: Ext.create('Ext.XTemplate',
                        '<div class="tweet">',
                        '<span "><img src="{standard_res_url}"></span>',
                        '</div>',
                             {
            
                        linkify: function(value) {
    
                    value = value.replace(/(http:\/\/[^\s]*)/g, "<a class=\"text\" target=\"_blank\" href=\"$1\">$1</a>");
                    value = value.replace(/(^|\s)@(\w+)/g, "<a class=\"text\" target=\"_blank\" href=\"http://www.twitter.com/@$2\"> @$2</a>");
                    value = value.replace(/(^|\s)#(\w+)/g, "<a class=\"text\" target=\"_blank\" href=\"http://twitter.com/#!/search/%23$2\"> #$2</a>");
                    
                    return value;
            }, 
            
    
    
            
        },
                        
    
                        {
                            
                            
                        }
                    )
                }
            });
    
    
    
    
    
                
                            var view = Ext.create('Ext.NavigationView', {
        fullscreen: true,
    
        items: [{
            title: 'First',
            items: [{
                xtype: 'button',
                text: 'Push a new view!',
                handler: function() {
                    //use the push() method to push another view. It works much like
                    //add() or setActiveItem(). it accepts a view instance, or you can give it
                    //a view config.
                    view.push(
                    {
                             xtype: 'container',
                xclass: 'TweetList',
                fullscreen: true,
                
                
                    });
                }
            }]
        }]
    });            
                
                
    
                
                
                
            }
        
    });

  5. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    82
    Answers
    2
    Vote Rating
    0
    ronaldoneal is on a distinguished road

      0  

    Default Instagram Data displays thru browser but not code

    Instagram Data displays thru browser but not code


    Code:
    https://api.instagram.com/v1/media/search?lat=48.858844&amp;lng=2.294351&amp;client_id=YourClientID
    :

    Data Returned:
    Code:
    {"meta":{"code":200},"data":[{"attribution":null,"tags":["jbrandjeans","delfinadelettrez","blogger","asos","sundayfunday","givenchy","blog","dior","diorpearl"],"location":{"latitude":48.862700793,"name":"www.somethingaboutvictoria.com","longitude":2.286760211,"id":204426564},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346910","link":"http:\/\/instagram.com\/p\/j6j3dsEN1e\/","likes":{"count":3,"data":[{"username":"merivale19","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/anonymousUser.jpg","id":"878349619","full_name":"merivale19"},{"username":"___nicom6___","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_598807603_75sq_1381301925.jpg","id":"598807603","full_name":"Nico"},{"username":"morgane616","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_25990579_75sq_1375044146.jpg","id":"25990579","full_name":"Morgane"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/d9f3214e8c0b11e3b17612ef1cbf7aa1_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/d9f3214e8c0b11e3b17612ef1cbf7aa1_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/d9f3214e8c0b11e3b17612ef1cbf7aa1_8.jpg","width":640,"height":640}},"users_in_photo":[{"position":{"y":0.615625024,"x":0.654687524},"user":{"username":"asos","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_3931765_75sq_1380230357.jpg","id":"3931765","full_name":"ASOS"}},{"position":{"y":0.314062506,"x":0.621874988},"user":{"username":"dior","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_550072490_75sq_1378990861.jpg","id":"550072490","full_name":"Dior Official"}}],"caption":{"created_time":"1391346910","text":"New post on my blog \u003e TRY MY TARTAN w\/ #asos #jbrandjeans #delfinadelettrez #givenchy #diorpearl #dior #sundayfunday #blog #blogger","from":{"username":"vicmonfort","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_207686078_75sq_1391121432.jpg","id":"207686078","full_name":"Victoria Monfort"},"id":"646987240094883094"},"type":"image","id":"646987239558012254_207686078","user":{"username":"vicmonfort","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_207686078_75sq_1391121432.jpg","full_name":"Victoria Monfort","bio":"","id":"207686078"}},{"attribution":null,"tags":["seances"],"location":{"latitude":48.855913333,"longitude":2.29973},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346881","link":"http:\/\/instagram.com\/p\/j6jz34PcZb\/","likes":{"count":0,"data":[]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage8.s3.amazonaws.com\/f4ecb9248c0b11e399901245976018b4_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage8.s3.amazonaws.com\/f4ecb9248c0b11e399901245976018b4_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage8.s3.amazonaws.com\/f4ecb9248c0b11e399901245976018b4_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346881","text":"#seances","from":{"username":"leoliechia","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_50048952_75sq_1371253855.jpg","id":"50048952","full_name":"Leslie Xia"},"id":"646986993153984055"},"type":"image","id":"646986992801662555_50048952","user":{"username":"leoliechia","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_50048952_75sq_1371253855.jpg","full_name":"Leslie Xia","bio":"","id":"50048952"}},{"attribution":null,"tags":[],"location":{"latitude":48.860130125,"name":"Rue le Tasse","longitude":2.28660867,"id":1576784},"comments":{"count":0,"data":[]},"filter":"Mayfair","created_time":"1391346879","link":"http:\/\/instagram.com\/p\/j6jzlLBnqp\/","likes":{"count":0,"data":[]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/f6443cc08c0b11e3a1cb0a9f503f6f11_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/f6443cc08c0b11e3a1cb0a9f503f6f11_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/f6443cc08c0b11e3a1cb0a9f503f6f11_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":null,"type":"image","id":"646986972715711145_433890413","user":{"username":"eotsalive","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_433890413_75sq_1390399506.jpg","full_name":"Alina","bio":"","id":"433890413"}},{"attribution":null,"tags":["like","paris","instalike","sunny","instaday","instaah","likeforlike","in","follow","day","instagram"],"location":{"latitude":48.855866667,"longitude":2.298233333},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346836","link":"http:\/\/instagram.com\/p\/j6juYwOdXf\/","likes":{"count":0,"data":[]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage0.s3.amazonaws.com\/a251c6288c0b11e3b11a12f2bc0fbd78_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage0.s3.amazonaws.com\/a251c6288c0b11e3b11a12f2bc0fbd78_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage0.s3.amazonaws.com\/a251c6288c0b11e3b11a12f2bc0fbd78_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346836","text":"#sunny #day #in #Paris #follow #likeforlike #like #instaah #instaday #instagram #instalike \u003c3","from":{"username":"carmym_","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_242053700_75sq_1389865073.jpg","id":"242053700","full_name":"Carmela Maresca"},"id":"646986616228402595"},"type":"image","id":"646986615783806431_242053700","user":{"username":"carmym_","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_242053700_75sq_1389865073.jpg","full_name":"Carmela Maresca","bio":"","id":"242053700"}},{"attribution":null,"tags":["paris"],"location":{"latitude":48.86243,"longitude":2.288088333},"comments":{"count":0,"data":[]},"filter":"Lo-fi","created_time":"1391346823","link":"http:\/\/instagram.com\/p\/j6jsvmDVDC\/","likes":{"count":0,"data":[]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage10.s3.amazonaws.com\/acbf3ce48c0b11e395760aa89e374bbe_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage10.s3.amazonaws.com\/acbf3ce48c0b11e395760aa89e374bbe_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage10.s3.amazonaws.com\/acbf3ce48c0b11e395760aa89e374bbe_8.jpg","width":640,"height":640}},"users_in_photo":[{"position":{"y":0.717187524,"x":0.3203125},"user":{"username":"aacapo","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_355470160_75sq_1388465261.jpg","id":"355470160","full_name":"Capo"}}],"caption":{"created_time":"1391346823","text":"#Paris","from":{"username":"afarrag93","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_1041425851_75sq_1391096000.jpg","id":"1041425851","full_name":"Ahmed Farrag"},"id":"646986503298044870"},"type":"image","id":"646986502870225090_1041425851","user":{"username":"afarrag93","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_1041425851_75sq_1391096000.jpg","full_name":"Ahmed Farrag","bio":"","id":"1041425851"}},{"attribution":null,"tags":[],"location":{"latitude":48.865413502,"longitude":2.301481968},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346822","link":"http:\/\/instagram.com\/p\/j6jsoKIug_\/","likes":{"count":1,"data":[{"username":"snumra","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_2579239_75sq_1367503539.jpg","id":"2579239","full_name":"snumra"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage6.s3.amazonaws.com\/d66c7aac8c0b11e3bdfc12713f36e0ce_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage6.s3.amazonaws.com\/d66c7aac8c0b11e3bdfc12713f36e0ce_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage6.s3.amazonaws.com\/d66c7aac8c0b11e3bdfc12713f36e0ce_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346825","text":"\u041b\u044e\u0431\u0438\u043c\u044b\u0439 \u0440\u0435\u0441\u0442\u043e\u0440\u0430\u043d \u043d\u0430 \u0431\u0443\u043b\u044c\u0432\u0430\u0440\u0435 \u043a\u0430\u043f\u0443\u0446\u0438\u043d\u043e\u0432. \u0410\u0440\u0442 \u0434\u0435\u043a\u043e","from":{"username":"sergedomb","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_338692233_75sq_1364719666.jpg","id":"338692233","full_name":"sergedomb"},"id":"646986523247569773"},"type":"image","id":"646986494885685311_338692233","user":{"username":"sergedomb","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_338692233_75sq_1364719666.jpg","full_name":"sergedomb","bio":"","id":"338692233"}},{"attribution":null,"videos":{"low_resolution":{"url":"http:\/\/distilleryimage3.s3.amazonaws.com\/bc79ace68c0b11e3b48012bfafc99cef_102.mp4","width":480,"height":480},"standard_resolution":{"url":"http:\/\/distilleryimage3.s3.amazonaws.com\/bc79ace68c0b11e3b48012bfafc99cef_101.mp4","width":640,"height":640}},"tags":[],"location":{"latitude":48.858730369,"longitude":2.293605795},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346791","link":"http:\/\/instagram.com\/p\/j6jo6VBnqd\/","likes":{"count":0,"data":[]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage3.s3.amazonaws.com\/bc79ace68c0b11e3b48012bfafc99cef_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage3.s3.amazonaws.com\/bc79ace68c0b11e3b48012bfafc99cef_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage3.s3.amazonaws.com\/bc79ace68c0b11e3b48012bfafc99cef_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":null,"type":"video","id":"646986239517817501_433890413","user":{"username":"eotsalive","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_433890413_75sq_1390399506.jpg","full_name":"Alina","bio":"","id":"433890413"}},{"attribution":null,"tags":[],"location":{"latitude":48.862992617,"name":"Place du Trocad\u00e9ro","longitude":2.287023067,"id":214814},"comments":{"count":0,"data":[]},"filter":"Sierra","created_time":"1391346748","link":"http:\/\/instagram.com\/p\/j6jjoDMFGe\/","likes":{"count":0,"data":[]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage2.s3.amazonaws.com\/74041d2a8c0b11e3b5870ee1a7cce83a_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage2.s3.amazonaws.com\/74041d2a8c0b11e3b5870ee1a7cce83a_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage2.s3.amazonaws.com\/74041d2a8c0b11e3b5870ee1a7cce83a_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346748","text":"Live in Paris \ud83d\ude0d\ud83d\ude0d\ud83d\ude0dLove in Paris \ud83d\udc9e\ud83d\udc95\ud83d\udc9e","from":{"username":"razlojka","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_227233091_75sq_1390257934.jpg","id":"227233091","full_name":"Razlojka \ud83d\udc8b"},"id":"646985878726529044"},"type":"image","id":"646985876293833118_227233091","user":{"username":"razlojka","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_227233091_75sq_1390257934.jpg","full_name":"Razlojka \ud83d\udc8b","bio":"","id":"227233091"}},{"attribution":null,"tags":["chilli","sweetpotato","vegan","chocolatecoveredkatie"],"location":{"latitude":48.866321667,"longitude":2.291205},"comments":{"count":1,"data":[{"created_time":"1391346781","text":"#vegan #chilli #sweetpotato #chocolatecoveredkatie","from":{"username":"teesfeeds","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_657808131_75sq_1387128812.jpg","id":"657808131","full_name":"Tee's Feeds"},"id":"646986155852624577"}]},"filter":"Normal","created_time":"1391346744","link":"http:\/\/instagram.com\/p\/j6jjMcsPEX\/","likes":{"count":5,"data":[{"username":"veganveins","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_503274377_75sq_1377409136.jpg","id":"503274377","full_name":"VeganVeins"},{"username":"anonymous_vegan","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_467433961_75sq_1382887189.jpg","id":"467433961","full_name":"Anonymous Vegan"},{"username":"greenerliving","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_337028509_75sq_1386759843.jpg","id":"337028509","full_name":"greener living \u262e kristyrebecca"},{"username":"s_ophrosyne","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_741765849_75sq_1391126010.jpg","id":"741765849","full_name":"peace, tea, happiness \ud83c\udf1e\u2615\ufe0f\u2728"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage0.s3.amazonaws.com\/97c07dd08c0b11e397f912b912623670_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage0.s3.amazonaws.com\/97c07dd08c0b11e397f912b912623670_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage0.s3.amazonaws.com\/97c07dd08c0b11e397f912b912623670_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346744","text":"I know... It doesn't look appetizing! But it's really good, sweet potato chilli by @chocolatecoveredkatie","from":{"username":"teesfeeds","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_657808131_75sq_1387128812.jpg","id":"657808131","full_name":"Tee's Feeds"},"id":"646985847160238772"},"type":"image","id":"646985846656921879_657808131","user":{"username":"teesfeeds","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_657808131_75sq_1387128812.jpg","full_name":"Tee's Feeds","bio":"","id":"657808131"}},{"attribution":null,"tags":["avena","f\u00eate","fit","cr\u00eapes","light","yummy","chandeleur"],"location":{"latitude":48.852212574,"name":"Chez moi","longitude":2.293578743,"id":20214959},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346697","link":"http:\/\/instagram.com\/p\/j6jdeas6A2\/","likes":{"count":1,"data":[{"username":"melissamarcelino","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_183007620_75sq_1349309914.jpg","id":"183007620","full_name":"melissamarcelino"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/ae7222008c0a11e39166126eed24a06d_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/ae7222008c0a11e39166126eed24a06d_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/ae7222008c0a11e39166126eed24a06d_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346698","text":"Aujourd'hui c'est La Chandeleur en France \ud83c\uddeb\ud83c\uddf7 Voil\u00e0 mes premiers cr\u00eapes light \ud83d\ude0a. Bonne f\u00eate des chandelles! Cr\u00eapes de avena, claras de huevo, canela y stevia \ud83d\udc4c\ud83d\ude1b #f\u00eate #chandeleur #cr\u00eapes #light #fit #avena #yummy","from":{"username":"lolo2184","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_188583303_75sq_1364845414.jpg","id":"188583303","full_name":"Laura Jimenez"},"id":"646985454229627135"},"type":"image","id":"646985453634035766_188583303","user":{"username":"lolo2184","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_188583303_75sq_1364845414.jpg","full_name":"Laura Jimenez","bio":"","id":"188583303"}},{"attribution":null,"tags":["beautiful","cute","picstitch","love","summer","tbt","igers","jj","toureiffel","instadaily","instamood","sunset","instagramhub","me","happy","cloudporn","girl","paris","sun","travel","sky","iphonesia","instagood","bestoftheday","igdaily","followme","webstagram","tweegram","picoftheday","photooftheday"],"location":{"latitude":48.858911019,"name":"Carrousel de la Tour Eiffel","longitude":2.292616397,"id":3102094},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346688","link":"http:\/\/instagram.com\/p\/j6jcT3OaRq\/","likes":{"count":11,"data":[{"username":"allansharo","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_232119248_75sq_1389792173.jpg","id":"232119248","full_name":"Alan Alfonso Sharo"},{"username":"godd_flovv","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_183066849_75sq_1386900065.jpg","id":"183066849","full_name":"Suav\u00e9 Swank \ud83d\ude4f"},{"username":"__shiori","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_708106986_75sq_1390714631.jpg","id":"708106986","full_name":"shiori"},{"username":"lareinerachel_xo","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_590115103_75sq_1390267535.jpg","id":"590115103","full_name":"Rachel Han \ud83c\udf80 \uc3ed\uc740"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage8.s3.amazonaws.com\/70e388928c0b11e3b4870e9031488e14_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage8.s3.amazonaws.com\/70e388928c0b11e3b4870e9031488e14_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage8.s3.amazonaws.com\/70e388928c0b11e3b4870e9031488e14_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346688","text":"#love #instagood #me #cute #tbt #photooftheday #instamood #tweegram #iphonesia #picoftheday #igers #summer #girl #instadaily #travel #cloudporn #instagramhub #sunset #beautiful #igdaily #bestoftheday #webstagram #picstitch #jj #happy #sky #paris #followme #sun #toureiffel","from":{"username":"auraqual","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_3433688_75sq_1376721736.jpg","id":"3433688","full_name":"auraqual"},"id":"646985374018151732"},"type":"image","id":"646985373581943914_3433688","user":{"username":"auraqual","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_3433688_75sq_1376721736.jpg","full_name":"auraqual","bio":"","id":"3433688"}},{"attribution":null,"tags":["eiffeltower"],"location":{"latitude":48.861438333,"longitude":2.289286667},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346661","link":"http:\/\/instagram.com\/p\/j6jZDdl1Vd\/","likes":{"count":3,"data":[{"username":"mizzymandy","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_298177909_75sq_1389049403.jpg","id":"298177909","full_name":"'. Ooh Happy Day"},{"username":"zsandraaa","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_1008582438_75sq_1390898056.jpg","id":"1008582438","full_name":"Sandra Alloh Iluk"},{"username":"adamokxxx","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_495163789_75sq_1385665493.jpg","id":"495163789","full_name":"Adam Wdowczyk"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage2.s3.amazonaws.com\/6dd631048c0b11e3921912a7d97f285a_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage2.s3.amazonaws.com\/6dd631048c0b11e3921912a7d97f285a_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage2.s3.amazonaws.com\/6dd631048c0b11e3921912a7d97f285a_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346661","text":"#eiffeltower","from":{"username":"johanallohiluk","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_466701492_75sq_1388704014.jpg","id":"466701492","full_name":"Johan Alloh Iluk"},"id":"646985150174287677"},"type":"image","id":"646985149813577053_466701492","user":{"username":"johanallohiluk","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_466701492_75sq_1388704014.jpg","full_name":"Johan Alloh Iluk","bio":"","id":"466701492"}},{"attribution":null,"tags":["parisiloveyou","\u043f\u0430\u0440\u0438\u0436","eiffeltower","paris","paris2014","\u0432\u0435\u0441\u043d\u0430\u0437\u0438\u043c\u043e\u0439"],"location":{"latitude":48.861963333,"longitude":2.28868},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346573","link":"http:\/\/instagram.com\/p\/j6jOVNwu2b\/","likes":{"count":5,"data":[{"username":"viclovesparis","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_224950440_75sq_1382715858.jpg","id":"224950440","full_name":"Victoria"},{"username":"nayrimm","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_145039138_75sq_1391263676.jpg","id":"145039138","full_name":"nayrimm"},{"username":"staylala","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_998080684_75sq_1390327306.jpg","id":"998080684","full_name":"Giovanna Lala"},{"username":"i_am__shae","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_272567110_75sq_1381303520.jpg","id":"272567110","full_name":"i_am__shae"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage7.s3.amazonaws.com\/67002f348c0a11e391771281c39a7fe7_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage7.s3.amazonaws.com\/67002f348c0a11e391771281c39a7fe7_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage7.s3.amazonaws.com\/67002f348c0a11e391771281c39a7fe7_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346573","text":"#paris #eiffeltower #\u0432\u0435\u0441\u043d\u0430\u0437\u0438\u043c\u043e\u0439 #\u043f\u0430\u0440\u0438\u0436 #parisiloveyou #paris2014","from":{"username":"juliajll","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_19029282_75sq_1337904229.jpg","id":"19029282","full_name":"Julia Lalova"},"id":"646984413246319639"},"type":"image","id":"646984412961107355_19029282","user":{"username":"juliajll","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_19029282_75sq_1337904229.jpg","full_name":"Julia Lalova","bio":"","id":"19029282"}},{"attribution":null,"tags":["instagram","paris","g\u00f6rkem","hotel","roof","ihti\u015fam","instaphoto","shangrila"],"location":{"latitude":48.863641957,"name":"Shangri-La Hotel Paris","longitude":2.293181419,"id":1063756},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346531","link":"http:\/\/instagram.com\/p\/j6jJL5MLU5\/","likes":{"count":0,"data":[]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage5.s3.amazonaws.com\/f31264608c0a11e39cc2125190cee429_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage5.s3.amazonaws.com\/f31264608c0a11e39cc2125190cee429_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage5.s3.amazonaws.com\/f31264608c0a11e39cc2125190cee429_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346531","text":"#shangrila #paris #hotel #roof #ihti\u015fam #g\u00f6rkem #instagram #instaphoto","from":{"username":"gurayakar","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_423858116_75sq_1371630865.jpg","id":"423858116","full_name":"Guray Akar"},"id":"646984059807905123"},"type":"image","id":"646984059354920249_423858116","user":{"username":"gurayakar","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_423858116_75sq_1371630865.jpg","full_name":"Guray Akar","bio":"","id":"423858116"}},{"attribution":null,"tags":["paris","pony"],"location":{"latitude":48.85544,"name":"Parc du Champ de Mars","longitude":2.298975,"id":16566},"comments":{"count":2,"data":[{"created_time":"1391346641","text":"\ud83d\ude0d","from":{"username":"dramaqueens8285","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_312943092_75sq_1386062683.jpg","id":"312943092","full_name":"\ud83d\udc8eDrama Queens 8285 Jewelry \ud83d\udc8e"},"id":"646984979326743083"},{"created_time":"1391346842","text":"\ud83d\ude0d\ud83d\ude0d","from":{"username":"smeinster","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_14080134_75sq_1391116642.jpg","id":"14080134","full_name":"smeinster"},"id":"646986663465628269"}]},"filter":"Normal","created_time":"1391346494","link":"http:\/\/instagram.com\/p\/j6jEnvSLHJ\/","likes":{"count":208,"data":[{"username":"hqqqq","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_6889073_75sq_1382775302.jpg","id":"6889073","full_name":"qq"},{"username":"venty07","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_313183356_75sq_1389839910.jpg","id":"313183356","full_name":"venty07"},{"username":"miz_lucy","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_28123813_75sq_1358970996.jpg","id":"28123813","full_name":"miz_lucy"},{"username":"andi19","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_1190663_75sq_1352572651.jpg","id":"1190663","full_name":"andi romo"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage6.s3.amazonaws.com\/e1d8e4128c0a11e382b512617d8fdbd6_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage6.s3.amazonaws.com\/e1d8e4128c0a11e382b512617d8fdbd6_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage6.s3.amazonaws.com\/e1d8e4128c0a11e382b512617d8fdbd6_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346494","text":"Such a beautiful day \u0026 pony is loving it! \ud83c\uddeb\ud83c\uddf7\ud83d\udc99 #paris #pony","from":{"username":"dennielias","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_26114651_75sq_1382823429.jpg","id":"26114651","full_name":"Denni Elias"},"id":"646983746134258177"},"type":"image","id":"646983745656107465_26114651","user":{"username":"dennielias","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_26114651_75sq_1382823429.jpg","full_name":"Denni Elias","bio":"","id":"26114651"}},{"attribution":null,"tags":[],"location":{"latitude":48.860988079,"name":"Mus\u00e9e du Quai Branly","longitude":2.297816277,"id":290297},"comments":{"count":0,"data":[]},"filter":"Earlybird","created_time":"1391346431","link":"http:\/\/instagram.com\/p\/j6i8-ygaKi\/","likes":{"count":0,"data":[]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage5.s3.amazonaws.com\/eca3f21a8c0a11e39bd0129dfc2dce15_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage5.s3.amazonaws.com\/eca3f21a8c0a11e39bd0129dfc2dce15_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage5.s3.amazonaws.com\/eca3f21a8c0a11e39bd0129dfc2dce15_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":null,"type":"image","id":"646983220650418850_342685103","user":{"username":"sebcambos","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_342685103_75sq_1364975433.jpg","full_name":"Seb Cambos","bio":"","id":"342685103"}},{"attribution":null,"tags":[],"location":{"latitude":48.858263472,"name":"Tour Eiffel","longitude":2.294511795,"id":109768643},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346387","link":"http:\/\/instagram.com\/p\/j6i3hBhJjN\/","likes":{"count":0,"data":[]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage8.s3.amazonaws.com\/ca0412268c0a11e38faf0edf04e81c84_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage8.s3.amazonaws.com\/ca0412268c0a11e38faf0edf04e81c84_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage8.s3.amazonaws.com\/ca0412268c0a11e38faf0edf04e81c84_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346387","text":"Paris 2014 Ocak","from":{"username":"pdemirayak","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/anonymousUser.jpg","id":"1051040293","full_name":"PDemirayak"},"id":"646982845503674430"},"type":"image","id":"646982845092632781_1051040293","user":{"username":"pdemirayak","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/anonymousUser.jpg","full_name":"PDemirayak","bio":"","id":"1051040293"}},{"attribution":null,"tags":[],"location":{"latitude":48.860121,"name":"New Jawad","longitude":2.300987,"id":1690313},"comments":{"count":0,"data":[]},"filter":"Normal","created_time":"1391346380","link":"http:\/\/instagram.com\/p\/j6i2sAjPkO\/","likes":{"count":17,"data":[{"username":"al7gelaaan","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_304268082_75sq_1391300314.jpg","id":"304268082","full_name":"\u0646\u0627\u0635\u0631 \u0627\u0644\u0633\u0647\u0644\u064a"},{"username":"saudalasman","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_306743515_75sq_1379088212.jpg","id":"306743515","full_name":"\u0633\u0639\u0648\u062f \u0627\u0644\u0639\u0635\u0645\u0627\u0646"},{"username":"m_al_sahli","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_230477069_75sq_1367874847.jpg","id":"230477069","full_name":"Mohammad A. AlSahli"},{"username":"khaled_alajmi","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_180511302_75sq_1391256544.jpg","id":"180511302","full_name":"\u0628\u0648\u0645\u064f\u0639\u0627\u0630"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage5.s3.amazonaws.com\/ba396af88c0a11e398ad0e0c6d9566fd_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage5.s3.amazonaws.com\/ba396af88c0a11e398ad0e0c6d9566fd_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage5.s3.amazonaws.com\/ba396af88c0a11e398ad0e0c6d9566fd_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346380","text":"\u064a\u0627\u0633\u0644\u0627\u0645\u064a \u0639\u0644\u0649 \u0627\u0644\u0635\u0628\u0627\u062d\u064a\u0647 \u0639\u0644\u0649 \u0627\u0644\u0627\u0642\u0644 \u062a\u0642\u062f\u0631 \u062a\u0646\u062d\u0627\u0634 \u0627\u0647\u0646\u064a \u0645\u0643\u0634\u0648\u0641","from":{"username":"falehalsahli","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_283605829_75sq_1389733415.jpg","id":"283605829","full_name":"F ALSAHLI"},"id":"646982788637849619"},"type":"image","id":"646982788168087822_283605829","user":{"username":"falehalsahli","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_283605829_75sq_1389733415.jpg","full_name":"F ALSAHLI","bio":"","id":"283605829"}},{"attribution":null,"tags":["beautiful","life","love","instalike","style","swagg","follow","instadaily","instagood","photographie","instamood","swag","webstagram","tflers","10like","photographer","30like","picoftheday","amazing","bestoftheday","20like","statigram","igdaily","nice","followme","instafollow","photooftheday"],"location":{"latitude":48.858263472,"name":"Tour Eiffel","longitude":2.294511795,"id":109768643},"comments":{"count":0,"data":[]},"filter":"X-Pro II","created_time":"1391346366","link":"http:\/\/instagram.com\/p\/j6i09ugD2U\/","likes":{"count":5,"data":[{"username":"jenniferdu93","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_675913835_75sq_1391027687.jpg","id":"675913835","full_name":"Paris\u2665"},{"username":"mahmoudnahhas","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_380696045_75sq_1388899670.jpg","id":"380696045","full_name":"Mahmoud Nahhas"},{"username":"greeneye020","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_879213166_75sq_1389550516.jpg","id":"879213166","full_name":"Agata Grela"},{"username":"georgiogausden","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_322537807_75sq_1390967222.jpg","id":"322537807","full_name":"George Gausden"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage4.s3.amazonaws.com\/acef380a8c0a11e39b8f0ebc2702080c_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage4.s3.amazonaws.com\/acef380a8c0a11e39b8f0ebc2702080c_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage4.s3.amazonaws.com\/acef380a8c0a11e39b8f0ebc2702080c_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":{"created_time":"1391346366","text":"3\u00e8me \u00e9tage de la Tour Eiffel #instamood #instagood #instadaily #statigram #follow #bestoftheday #igdaily #instalike #followme #life #photooftheday #love #beautiful #picoftheday#swag#swagg#nice#photographie#photographer#instafollow#10like#20like#30like#nice#TFLers#amazing#webstagram#style","from":{"username":"na55imou","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_426255014_75sq_1391205369.jpg","id":"426255014","full_name":"na55imou"},"id":"646982670231813863"},"type":"image","id":"646982669753662868_426255014","user":{"username":"na55imou","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_426255014_75sq_1391205369.jpg","full_name":"na55imou","bio":"","id":"426255014"}},{"attribution":null,"tags":[],"location":{"latitude":48.860988079,"name":"Mus\u00e9e du Quai Branly","longitude":2.297816277,"id":290297},"comments":{"count":0,"data":[]},"filter":"Inkwell","created_time":"1391346334","link":"http:\/\/instagram.com\/p\/j6ixFigaKU\/","likes":{"count":1,"data":[{"username":"donatellamusco","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_260902488_75sq_1354210835.jpg","id":"260902488","full_name":"Donatella"}]},"images":{"low_resolution":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/d38fdcd68c0411e3afad124fa93f7805_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/d38fdcd68c0411e3afad124fa93f7805_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distilleryimage1.s3.amazonaws.com\/d38fdcd68c0411e3afad124fa93f7805_8.jpg","width":640,"height":640}},"users_in_photo":[],"caption":null,"type":"image","id":"646982403264455316_342685103","user":{"username":"sebcambos","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_342685103_75sq_1364975433.jpg","full_name":"Seb Cambos","bio":"","id":"342685103"}}]}
    View

    Code:
    Ext.define('BEN.view.Tweets', {
    
        extend: 'Ext.List',
        requires: [
            'Ext.plugin.PullRefresh',
            'Ext.plugin.ListPaging'
        ],
    
    
        xtype: 'tweets',
    
    
        config: {
            variableHeights: true,
            title: 'Tweets',
            iconCls: 'chat',
            cls: 'tweets',
    
    
            items: [
                {
                    docked: 'top',
                    xtype: 'titlebar'
                }
            ],
    
    
            store: 'Tweets',
            limit: 10,
            disableSelection: true,
    
    
            plugins: [
                { type: 'listpaging' },
                { type: 'pullrefresh' }
            ],
    
    
            emptyText: '<p class="no-searches">No tweets found matching that search</p>',
    
    
            itemTpl: Ext.create('Ext.XTemplate',
                '<img src="{profile_image_url}" />',
                '<div class="tweet">',
                    '<span class="posted">{[this.posted(values.created_at)]}</span>',
                    '<h2>{name}</h2>',
                    '<p>{text}</p>',
                '</div>',
                {
                    posted: function(date) {
                        try {
                            var now = Math.ceil(Number(new Date()) / 1000),
                                dateTime = Math.ceil(Number(new Date(date)) / 1000),
                                diff = now - dateTime,
                                str;
    
    
                            if (diff < 60) {
                                return String(diff) + ' seconds ago';
                            } else if (diff < 3600) {
                                str = String(Math.ceil(diff / (60)));
                                return str + (str == "1" ? ' minute' : ' minutes') + ' ago';
                            } else if (diff < 86400) {
                                str = String(Math.ceil(diff / (3600)));
                                return str + (str == "1" ? ' hour' : ' hours') + ' ago';
                            } else if (diff < 60 * 60 * 24 * 365) {
                                str = String(Math.ceil(diff / (60 * 60 * 24)));
                                return str + (str == "1" ? ' day' : ' days') + ' ago';
                            } else {
                                return Ext.Date.format(new Date(date), 'jS M \'y');
                            }
                        } catch (e) {
                            return '';
                        }
                    }
                }
            )
        }
    });
    Model
    Code:
    Ext.define('BEN.model.Tweet',  {        extend: 'Ext.data.Model',
    
    
    
    
        config: {
            fields: [
                {
                    name: 'text',
                    mapping: 'results.url'
                },
                {
                    name: 'created_at',
                    mapping: 'results.created_time',
                    type: 'date'
                },
                {
                    name: 'profile_image_url',
                    mapping: 'results.profile_picture'
                },
                {
                    name: 'name',
                    mapping: 'results.username'
                }
            ]
        }
    });
    
    
       // config: {
            // fields: [
                // {
                    // name: 'text',
                    // mapping: 'results.text'
                // },
                // {
                    // name: 'created_at',
                    // mapping: 'results.created_at',
                    // type: 'date'
                // },
                // {
                    // name: 'profile_image_url',
                    // mapping: 'results.profile_image_url'
                // },
                // {
                    // name: 'name',
                    // mapping: 'results.from_user_name'
                // }
            // ]
        // }
    Store

    Code:
    Ext.define('BEN.store.Tweets', {    extend: 'Ext.data.Store',
    
    
    
    
        requires: [
            'BEN.model.Tweet'
        ],
    
    
    
    
        config: {
            autoLoad: true,
            model: 'BEN.model.Tweet',
            storeId: 'Tweets',
            proxy: {
                type: 'jsonp',
    
    
                  url:'https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&client_id=YourClientID',        
    
    
                reader: {
                    type: 'json',
                    rootProperty: 'results'
                }
            }
        }
    });
    Any guidance is appreciated.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar