Last active
March 26, 2021 22:45
-
-
Save BinaryMoon/32e2f5fb98a862e005ddda61e6a7d524 to your computer and use it in GitHub Desktop.
Example of using the buffer ip
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 | |
// Uses: https://github.com/thewebguy/bufferapp-php/blob/master/buffer.php | |
$buffer = new BufferApp( $client_id, $client_secret, $callback_url ); | |
$buffer->set_access_token( $access_token ); | |
$buffer->go( | |
'/updates/create', | |
array( | |
'text' => $message, | |
'profile_ids[]' => $profile_id, | |
'scheduled_at' => $timestamp, | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment