Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thought this change would be helpful #6

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion application/libraries/tweet.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,10 @@ class tweetOauth extends tweetConnection {

private $_obj;
private $_tokens = array();
private $_authorizationUrl = 'http://api.twitter.com/oauth/authorize';

// I changed the url of $_authorizationUrl to 'authenticate' instead of 'authorize' as if a user has already authed an app
// To their account- this URL auto logs them instead of asking for permission again... much better for "sign in" type apps
private $_authorizationUrl = 'http://twitter.com/oauth/authenticate';
private $_requestTokenUrl = 'http://api.twitter.com/oauth/request_token';
private $_accessTokenUrl = 'http://api.twitter.com/oauth/access_token';
private $_signatureMethod = 'HMAC-SHA1';
Expand Down