OAuth authentication works fine, but when I get to this step "Add a REST Resource JavaScript asset under your site" and then run test, test fails. and shows me this
"request" => array (
"method" => "GET",
"headers" => array (
[Empty]
),
"body" => "",
"urls" => array (
0 => "https://api.twitter.com/1.1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=parracity&count=1"
),
"auth" => array (
"type" => "OAuth"
),
"oauth_headers" => array (
[Empty]
),
"url" => "https://api.twitter.com/1.1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=parracity&count=1"
),
"responses" => array (
0 => array (
"body" => "{\"errors\":[{\"message\":\"Bad Authentication data\",\"c...",
"headers" => array (
"content-length" => "61",
"content-type" => "application/json; charset=utf-8",
"date" => "Mon, 29 Jul 2013 04:22:39 UTC",
"server" => "tfe",
"set-cookie" => "guest_id=v1%3A137507175931123349; Domain=.twitter.com; Path=/; Expires=Wed, 29-Jul-2015 04:22:39 UTC",
"strict-transport-security" => "max-age=631138519"
),
"info" => array (
"url" => "https://api.twitter.com/1.1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=parracity&count=1",
"content_type" => "application/json; charset=utf-8",
"http_code" => 400,
"header_size" => 305,
"request_size" => 154,
"filetime" => -1,
"ssl_verify_result" => 0,
"redirect_count" => 0,
"total_time" => 0.679452,
"namelookup_time" => 0.009324,
"connect_time" => 0.171877,
"pretransfer_time" => 0.515744,
"size_upload" => 0,
"size_download" => 61,
"speed_download" => 89,
"speed_upload" => 0,
"download_content_length" => 61,
"upload_content_length" => 0,
"starttransfer_time" => 0.679444,
"redirect_time" => 0
),
"source" => "remote",
"expiry" => 0
)
),
"response" => array (
"body" => "{\"errors\":[{\"message\":\"Bad Authentication data\",\"c...",
"headers" => array (
"content-length" => "61",
"content-type" => "application/json; charset=utf-8",
"date" => "Mon, 29 Jul 2013 04:22:39 UTC",
"server" => "tfe",
"set-cookie" => "guest_id=v1%3A137507175931123349; Domain=.twitter.com; Path=/; Expires=Wed, 29-Jul-2015 04:22:39 UTC",
"strict-transport-security" => "max-age=631138519"
),
"info" => array (
"url" => "https://api.twitter.com/1.1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=parracity&count=1",
"content_type" => "application/json; charset=utf-8",
"http_code" => 400,
"header_size" => 305,
"request_size" => 154,
"filetime" => -1,
"ssl_verify_result" => 0,
"redirect_count" => 0,
"total_time" => 0.679452,
"namelookup_time" => 0.009324,
"connect_time" => 0.171877,
"pretransfer_time" => 0.515744,
"size_upload" => 0,
"size_download" => 61,
"speed_download" => 89,
"speed_upload" => 0,
"download_content_length" => 61,
"upload_content_length" => 0,
"starttransfer_time" => 0.679444,
"redirect_time" => 0
),
"source" => "remote",
"expiry" => 0
)
I assumed because it can't store access token. Sorry I am total noob when it comes to REST