Hootsuite API hookup for ModQ

lisa Lisa, 9th May 2018

We recently got accepted onto the Hootsuite Developer Platform with our content gathering tool ModQ.

ModQ lets you easily collect images, video and text from your team, volunteers or public audience so that you can broadcast fresh, relevant content. You can post directly to social networks from the tool but as Hootsuite is such a popular platform we wanted to work hand in hand with those guys so that people can gather the content in ModQ but view their reporting as normal with Hootsuite.

The first step, once accepted on the developer programme, was to create a Laravel Hootsuite Provider. Using Socialite as a starting point, we extended it to include Hootsuite support. We then were able to get access tokens to get an array of a Hootsuite user's profiles so that each time they want to schedule something we can ask them which network profile they want to publish to.

The actual posting of content through Hootsuite is done with a combination of a Twitter app and Ow.ly - and gets rather clever with you needing to create a secret sign-in key and send a signature with each request. When we had a bit of a head-scratching moment with the security hoops we used Postman to compare our output to that in the Hootsuite docs and soon got back on track!

The end result is that now ModQ users can set up their individual networks and post to them directly, or if they prefer sync up their Hootsuite account and post via that instead. Everything can still be handled within ModQ but a record of all your posts and their results is also in Hootsuite for comparison with your regular social broadcasts.

The integration also means ModQ users can now post directly to Instagram if they have a Business profile - a feature we're very excited about!

If you need any API integration done, or even need an API built, please do drop us a line.

More from our blog

18a win Netty 2024 award for Activibees.com

18a win Netty 2024 award for Activibees.com

29.02.24

We are delighted to announce that 18a has been recognised for its outstanding work in the "Web Design Agency of the Year - UK" category at… Read →

Generating an Effective Content Security Policy with your Laravel React App

Generating an Effective Content Security Policy with your Laravel React App

27.02.24

I recently had an interesting problem to solve. I'd built a brand new author website on a shiny installation of Laravel 10, utilising its out-of-the-box… Read →

If your WordPress website looks broken, it could be because of this.

If your WordPress website looks broken, it could be because of this.

15.02.24

WordPress is the incredibly popular blogging-come-full-website platform that powers over 835 million websites* in 2024. It's functionality is extended by plugins, and one such very… Read →