Unable to use @abraham's twitteroauth library to get oauth token


#1

I am trying to get started with a webapp in php using the twitteroauth library.

I modified the config.php to specify the corrrect CONSUMER_KEY and CONSUMER_SECRET(API key and API secret from twitter application settings) and tried to load test.php.

I also modified the callback URL to 'http://localhost/path/to/callback.php.

However, when I clicked the ‘Sign in with twitter’, I am redirected to a page which shows nothing.

I tried a few different things, but nothing worked.
Do I need to configure something else too? Can someone please suggest?

Thanks,
Smidth


#2

I’m not too sure but I think you can view the tweets through the tweets.php page. This is where the content is being fetched to.