{"action":"created","issue":{"url":"https://api.github.com/repos/xibosignage/xibo/issues/114","labels_url":"https://api.github.com/repos/xibosignage/xibo/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/xibosignage/xibo/issues/114/comments","events_url":"https://api.github.com/repos/xibosignage/xibo/issues/114/events","html_url":"https://github.com/xibosignage/xibo/issues/114","id":56142525,"number":114,"title":"Twitter module config help","user":{"login":"pcrandrew","id":10790914,"avatar_url":"https://avatars.githubusercontent.com/u/10790914?v=3","gravatar_id":"","url":"https://api.github.com/users/pcrandrew","html_url":"https://github.com/pcrandrew","followers_url":"https://api.github.com/users/pcrandrew/followers","following_url":"https://api.github.com/users/pcrandrew/following{/other_user}","gists_url":"https://api.github.com/users/pcrandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/pcrandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcrandrew/subscriptions","organizations_url":"https://api.github.com/users/pcrandrew/orgs","repos_url":"https://api.github.com/users/pcrandrew/repos","events_url":"https://api.github.com/users/pcrandrew/events{/privacy}","received_events_url":"https://api.github.com/users/pcrandrew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-31T22:36:06Z","updated_at":"2015-02-01T12:43:08Z","closed_at":null,"body":"Hi, I think I have configured the Twitter module correctly in 1.7.0 with my Twitter API key and secret key. The CMS has web access and is accessing RSS feeds OK through layout previews and the web browser. When I add a Twitter feed to a layout, the log shows the messages shown below, suggesting that nothing is being returned from the curl_exec function in $result. Is there any generic help or obvious things to check first? \r\nThanks, Phil. \r\n\r\nBearer Token served from API, \r\n\r\nfollowed by \r\n```\r\n <errormsg>Undefined offset: 1</errormsg>\r\n <errornum>8</errornum>\r\n <errortype>Notice</errortype>\r\n <scriptname>C:\\xampp\\htdocs\\xibo\\modules\\twitter.module.php</scriptname>\r\n <scriptlinenum>659</scriptlinenum> \r\n```\r\nfollowed by \r\n\r\n Twitter API returned status. Unable to proceed. \r\n\r\nfollowed by \r\n```\r\n<errormsg>Undefined offset: 1</errormsg>\r\n <errornum>8</errornum>\r\n <errortype>Notice</errortype>\r\n <scriptname>C:\\xampp\\htdocs\\xibo\\modules\\twitter.module.php</scriptname>\r\n <scriptlinenum>670</scriptlinenum>\r\n```\r\nfollowed by \r\n\r\n Twitter Error: Unknown Error \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xibosignage/xibo/issues/comments/72363290","html_url":"https://github.com/xibosignage/xibo/issues/114#issuecomment-72363290","issue_url":"https://api.github.com/repos/xibosignage/xibo/issues/114","id":72363290,"user":{"login":"dasgarner","id":10400067,"avatar_url":"https://avatars.githubusercontent.com/u/10400067?v=3","gravatar_id":"","url":"https://api.github.com/users/dasgarner","html_url":"https://github.com/dasgarner","followers_url":"https://api.github.com/users/dasgarner/followers","following_url":"https://api.github.com/users/dasgarner/following{/other_user}","gists_url":"https://api.github.com/users/dasgarner/gists{/gist_id}","starred_url":"https://api.github.com/users/dasgarner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dasgarner/subscriptions","organizations_url":"https://api.github.com/users/dasgarner/orgs","repos_url":"https://api.github.com/users/dasgarner/repos","events_url":"https://api.github.com/users/dasgarner/events{/privacy}","received_events_url":"https://api.github.com/users/dasgarner/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T12:43:08Z","updated_at":"2015-02-01T12:43:08Z","body":"I've swapped some things around for you in that file so that you should get some better error logging out of the `curl_exec` call. I'm not sure what we will find if i'm honest, but hopefully the error will be more meaningful\r\n\r\nCan you try patching your `twitter.module.php` file?"}}