Skip to content

Instantly share code, notes, and snippets.

@BinaryMoon
Last active March 26, 2021 22:45
Show Gist options
  • Save BinaryMoon/32e2f5fb98a862e005ddda61e6a7d524 to your computer and use it in GitHub Desktop.
Save BinaryMoon/32e2f5fb98a862e005ddda61e6a7d524 to your computer and use it in GitHub Desktop.
Example of using the buffer ip
<?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