offbeatwp/social-importer

Add social things to offbeatwp

Installs: 52

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:offbeatwp-service

dev-master 2019-10-13 18:15 UTC

This package is auto-updated.

Last update: 2024-09-14 05:19:49 UTC


README

The Social Importer is a service package for offbeatWP.

Installation

Install the package using Composer (First you need to go to the OffbeatWP theme folder)

composer require offbeatwp/social-importer

Then you need to add the social importer as service. You can do this by adding the service in the config/service.php file.

OffbeatWP\SocialImporter\Service::class,

Now make a social_importer.php file in config folder. You need to register the API key using this file.

return [
    [
        'id'           => 'account_insta',
        'type'         => 'instagram',
        'api_key'      => 'my api key',
        'api_secret'   => 'my secret',
    ],

After this, you have to activate the account using OAuth.

Make a call using WP cli

wp social-importer

The Facebook function does not work yet