Create and schedule a social media messages to be shared on a social network. Set up your scheduled time preferences here: https://buffer.com/app/profile/schedule. You can queue up as many messages as you want and they will be sent from the profiles that you specify
Finish the setup steps to use Schedule Status Update in Slack.
Run this function with a POST request to Blockspring.
Visit the node.js quickstart to get started fast.
Visit the php quickstart to get started fast.
Visit the python quickstart to get started fast.
Visit the ruby quickstart to get started fast.
Visit the r quickstart to get started fast.
Visit the javascript quickstart to get started fast.
Use this URL for webhooks. You'll want to make a POST request.
curl -H "Content-Type: application/json" -d "{ \"text\": , \"profiles_ids\": , \"shorten\": false, \"now\": false, \"top\": false, \"buffer_token\": }" "https://run.blockspring.com/api_v2/blocks/send-update-buffer?"
var blockspring = require("blockspring");
blockspring.runParsed("send-update-buffer", { "text": , "profiles_ids": , "shorten": false, "now": false, "top": false, buffer_token: }, function(res) {
console.log(res.params);
});
var request = require("request");
request.post({
url: "https://run.blockspring.com/api_v2/blocks/send-update-buffer?",
form: { "text": , "profiles_ids": , "shorten": false, "now": false, "top": false, buffer_token: }
},
function(err, response, body) {
console.log(JSON.parse(body));
});
<?php
$url = 'https://run.blockspring.com/api_v2/blocks/send-update-buffer?';
$data = json_encode(array("text" => , "profiles_ids" => , "shorten" => false, "now" => false, "top" => false, "buffer_token" => ));
// use key 'http' even if you send the request to https://...
$options = array(
'http' => array(
'header' => array("Accept: application/json", "Content-Type: application/json"),
'method' => 'POST',
'content' => $data,
),
);
$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
var_dump(json_decode($result));
?>
<?php
require('blockspring.php');
var_dump(Blockspring::runParsed("send-update-buffer", array("text" => , "profiles_ids" => , "shorten" => false, "now" => false, "top" => false, "buffer_token" => ))->params);
import json
import urllib2
req = urllib2.Request("https://run.blockspring.com/api_v2/blocks/send-update-buffer?")
req.add_header('Content-Type', 'application/json')
data = { "text": , "profiles_ids": , "shorten": False, "now": False, "top": False, "buffer_token": }
results = urllib2.urlopen(req, json.dumps(data)).read()
print json.loads(results)
import blockspring
import json
print blockspring.runParsed("send-update-buffer", { "text": , "profiles_ids": , "shorten": False, "now": False, "top": False, "buffer_token": }).params
require 'rest_client'
response = RestClient.post 'https://run.blockspring.com/api_v2/blocks/send-update-buffer?', JSON.dump({ "text" => , "profiles_ids" => , "shorten" => false, "now" => false, "top" => false, "buffer_token" => }), :content_type => :json
puts JSON.load(response)
require 'blockspring'
puts Blockspring.runParsed("send-update-buffer", { "text" => , "profiles_ids" => , "shorten" => false, "now" => false, "top" => false, "buffer_token" => } ).params
require 'rest_client'
response = RestClient.post 'https://run.blockspring.com/api_v2/blocks/send-update-buffer?', JSON.dump({ "text" = , "profiles_ids" = , "shorten" = FALSE, "now" = FALSE, "top" = FALSE, "buffer_token" = }), :content_type => :json
puts JSON.load(response)
library('blockspring')
library('rjson')
print(blockspringRunParsed("send-update-buffer", list( "text" = , "profiles_ids" = , "shorten" = FALSE, "now" = FALSE, "top" = FALSE, "buffer_token" = ))$params)
<script src="https://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="https://cdn.blockspring.com/blockspring.js"></script>
<script>
blockspring.runParsed("send-update-buffer", { "text": , "profiles_ids": , "shorten": false, "now": false, "top": false, buffer_token: }, { "api_key": "" }, function(res){
console.log(res.params);
})
</script>
https://run.blockspring.com/api_v2/blocks/send-update-buffer?
Finish the setup steps to use Schedule Status Update in Code.