Twitter login

wadie7
@wadie7 Wadie

I got this code which can help me set up the twitter login in my site:

https://github.com/jmathai/twitter-async

I see I have to set values to these two variables:

  1. $consumer_key = "";
  2. $consumer_secret = "";
  • $consumer_key - Twitter consumer key
  • $consumer_secret - Twitter consumer secret

Where do I get them from ?

2 years 9 weeks ago

Replies

episod
@episod Taylor Singletary

Hi there,

You'll need to register an application at https://dev.twitter.com/apps -- that process will yield you these tokens that you're looking for. You may want to consider using a more frequently updated library like https://github.com/themattharris/tmhOAuth

2 years 9 weeks ago
wadie7
@wadie7 Wadie

Thank you! :)

2 years 9 weeks ago
Rahul2kumar
@Rahul2kumar Rahul Kumar

may any one let me know how i may get trend from Oauth. I am using twiiter api.

2 years 2 weeks ago
chandramanicse
@chandramanicse chandramanicse

Hi guys,
I am trying to share a IMAGE on Twitter through Own Website Image, if anyone have a Idea about this, Please Share the View.

-Thanks.

1 year 16 weeks ago
rahul_k_singh
@rahul_k_singh Rahul Kumar

How can i close the twitter window once twitter redirects it to my website with oauth token and verifier.
I have opened a child window, which should get closed after redirection.

46 weeks 2 days ago
ameenasul
@ameenasul ameena

url format error unable to create app

44 weeks 5 days ago