Posting to Twitter on Android

Hi guys! 

I am pretty new to Corona SDK and recently I encounter some problems regarding on posting from the game to twitter. I downloaded the sample code for twitter in the Corona file and what I did was changed the values of the API Key and secret and nothing else.

 

The problems I encounter was

  1. It shows “Not Connected” at the bottom of the screen

**2) Whenever I press the “Tweet” button it shows “Failed: Invalid Token”

 

I’m using Corona Simulator.

 

What should I do so that when I press the “Tweet” button it posts the tweet on to my twitter? 

Can someone guide me through this?

 

Thank You!