local twitter local tw\_listener = function( event ) if event.phase == "authorised" then elseif event.phase == "posted" then native.showAlert( "Twitter", "Image posted to Twitter.", { "OK" } ) twitter:deauthorise() }) elseif event.phase == "deauthorised" then twitter:destroy() twitter = nil end end function onShareTWButtonRelease() twitter = GGTwitter:new( "xxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxx", tw\_listener ) twitter:authorise() twitter:post( "Hello, world!" ) end
Its not working for me ,
Please help me what i am doing wrong??
xxxx = is for my consumerKey and consumerSecret I use them correctly…
Im using the FIx Twitter and oauth for http also.
what im doing wrong??