Created
October 18, 2014 15:54
-
-
Save alvaroveliz/5fda2a3be93980a58891 to your computer and use it in GitHub Desktop.
Consultar la lista de menciones
This file contains hidden or 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_once('twitteroauth/twitteroauth.php'); | |
$consumer_key = 'aqui va tu consumer key'; | |
$consumer_secret = 'aqui va tu consumer secret'; | |
$access_token = 'aqui va tu consumer access token'; | |
$access_token_secret = 'aqui va tu consumer access token secret'; | |
// Se crea el objeto "TwitterOauth" con las configuraciones | |
$twitter = new TwitterOAuth($consumer_key, $consumer_secret, $access_token, $access_token_secret); | |
$mentions = $twitter->get('statuses/mentions'); | |
print_r($mentions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment