Results 1 to 2 of 2

Thread: Twitter example is broken

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,153

    Default Twitter example is broken

    Open http://dev.sencha.com/deploy/touch/examples/twitter/

    Type something into the search field.

    Copy pasting the JSONP url into the browser gives me:
    Code:
    http://search.twitter.com/search.json?_dc=1317800362023&suppress_response_codes=true&limit=10&_dc=1317800362024&suppress_response_codes=true&limit=10&rpp=10&page=&q=sencha&callback=stcCallback1001
    Code:
    stcCallback1001({"error":"Invalid parameter"});
    Exception thrown as a result in Sencha Touch code:
    Code:
    Uncaught TypeError: Cannot read property 'length' of undefined
    Ext.data.Reader.Ext.extend.readRecordssencha-touch.js:6
    Ext.data.JsonReader.Ext.extend.readRecordssencha-touch.js:6
    Ext.data.Reader.Ext.extend.readsencha-touch.js:6
    (anonymous function)sencha-touch.js:6
    (anonymous function)

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    This has been fixed in 1.1.1
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •