Last active
August 29, 2015 14:06
-
-
Save BatuhanK/c8a46014467e6c890349 to your computer and use it in GitHub Desktop.
Xauth Token alma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require('UltimateOAuth.php'); | |
$consumer_key = "c8a46014467e6c890349"; // Resmi Twitter uygulamasına aittir | |
$consumer_secret = "GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU"; // Resmi Twitter uygulamasına aittir | |
$uo = new UltimateOAuth( $consumer_key, $consumer_secret); | |
$username = ""; // Twitter username | |
$password = ""; // Twitter password | |
$response = $uo->directGetToken ( $username, $password ); | |
var_dump($response); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment