Closed rjaus closed 13 years ago
So I've been going through the code and trying to debug this myself. I can see that the _settings['actions'] array does not have any extracts in it.
I suspect this has something to do with the backwards compatibility breakage mentioned in the readme, but I'm confused as to the solution.
You have to define your extracts in your controller. This component will not guess what variables you want your clients to see, and in what format
I am getting same issue so can you please help?
{ data: { Tweet: [ ] }, meta: { status: "ok", feedback: [ ], request: { http_host: "localhost:81", http_user_agent: "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1", server_addr: "127.0.0.1", remote_addr: "127.0.0.1", server_protocol: "HTTP/1.1", request_method: "GET", request_uri: "/cakephp/tweets/index.json", request_time: 1355914649 }, credentials: { class: null, apikey: null, username: null }, time_epoch: "1355914649", time_local: "Wed, 19 Dec 2012 10:57:29 +0000", version: "0.3" } }
Been trying to use this plugin for a while, but cant seem to get any data or feedback from my requests.
I've been through the instructions a number of times and I can't work out why.
myCallback({ "data": [ ], "meta": { "status": "ok", "feedback": [ ], "request": { "http_host": "ggbettwo", "server_addr": "127.0.0.1", "remote_addr": "127.0.0.1", "server_protocol": "HTTP\/1.1", "request_method": "GET", "request_uri": "\/series\/series_list.json?callback=myCallback", "request_time": 1315022662 }, "credentials": { "class": "Customer", "apikey": "247b5a2f72df375279573f2746686daa", "username": "rj@emspire.com" }, "time_epoch": "1315022662", "time_local": "Sat, 03 Sep 2011 04:04:22 +0000", "version": "0.3" } });
Any help would be appreciated.