Have a Question?

If you have a question, start typing or search for it below.

The Camayak Content Publishing API

Beta documentation. All specifications subject to change Introduction The Content API allows Camayak customers the ability to unidirectionally publish approved assignments to delivery platforms not directly supported by Camayak. Some example use cases for the Content API: Publishing approved assignments as Facebook Posts Publishing approved assignments as Tumblr Posts Publishing . . . Read more

Validating the Webhook Camayak-Signature header – Sample PHP Code

<?php private function get_header_signature() { $key = ‘Camayak-Signature’; foreach (getallheaders() as $name => $value) { if($name == $key) { return $value; } } return NULL; } private function calculate_signature($epoch) { return hash_hmac(‘sha1’, $epoch . $this->api_key, $this->shared_secret); } public function verify() { // Verify that the incoming request is from Camayak. . . . Read more

Image Alignment in WordPress

By default, Camayak will center any image that is placed within the body of an assignment. To achieve this, Camayak makes use of the “aligncenter” CSS class in WordPress. Any WordPress-using Camayak customer who has a custom theme, however, may not have the rule and may therefore be susceptible to strangely aligned images. . . . Read more