#pragma once

#include "social.h"
#include <conf.h>

namespace blogi {
namespace social {

    class Instagram : public SocialBackend {
    public:
        Instagram(PluginArgs *args) : _args(args) {}

        const std::string name() const override { return "instagram"; }

        bool supports(SharePostType type) const override {
            return type == SharePicture || type == ShareVideo;
        }

        void share(const int tid, SharePostType type, const std::string &url,
                   const std::string &title, const std::string &description) override;
    private:
        PluginArgs *_args;
    };

} // namespace social
} // namespace blogi

