Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require "twitteroauth/autoload.php"<
- use Abraham\TwitterOAuth\TwitterOAuth;
- $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $access_token, $access_token_secret);
- $content = $connection->get("account/verify_credentials");
- $statuses = $connection->post("statuses/update", ["status" => "YOUR TWEET HERE"]);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement