Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to read Facebook Post data in Sencha touch store
    primarykey
    data
    text
    <p>I got the following data from the graph api url.From my store is loading correctly but data is not adding. In Store data I am getting all fields that were given in model as null. I don't think the following data has rootProperty , can someone please help me on how to read the following data in Sencha Store. </p> <pre><code>{ "story": "information archiTECH shared a link.", "story_tags": { "0": [ { "name": "information archiTECH", "offset": 0, "length": 21, "type": "page" } ] }, "name": "Help! My USPS shipping methods are no longer displaying in Magento! | information archiTECH Blog", "caption": "www.informationarchitech.com", "description": "On July 28, 2013 USPS released an update to its Web Tools API which has broken many Web site modules (including the one that ships with Magento) which used this API to generate shipping quotes for customers. The major change was the names of the methods being returned. This document outlines all of\u2026", "privacy": { "value": "" }, "type": "link", "status_type": "shared_story", "created_time": "2013-08-01T18:30:29+0000", "updated_time": "2013-08-01T18:30:29+0000" } </code></pre> <p>I am calling store in initialize function in view config.</p> <pre><code> listeners : { initialize : function(){ var posts = []; for(i in facebookstore.data.items) { var postid = facebookstore.data.items[i].data.post_id; posts.push(facebookstore.data.items[i].data.post_id); var poststore = Ext.create("Ext.data.Store" ,{ model: 'InformationArchitech.model.FBModel', proxy: { type: "scripttag", url : 'https://graph.facebook.com/'+postid+'?access_token='+accesstoken+'&amp;fields=description', reader: { type: 'json' } } }); poststore.load(); poststore.sync(); } } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload