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
<?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
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
When you’re adding a new WordPress publishing destination, you want to make sure that you aren’t jeopardizing the security of your site by creating a password for your CamayakArchive admin user that’s easy for a potential hacker to guess. WordPress can generate a secure password for you when you create . . . Read more