monsieurbiz/mbiz_twitter

Magento module which adds the support of the Twitter API.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Type:magento-module

dev-master 2016-07-20 20:50 UTC

This package is auto-updated.

Last update: 2021-12-29 01:57:38 UTC


README

This module, for now, allows you to send a tweet like this:

$twitter = Mage::getSingleton('mbiz_twitter/api');
$twitter->tweet("Hello World!");

But before that, you have to configure the access tokens.

If you don't have a Twitter app you can create one in the apps center.

Configuration

To configure it you have to set the following configuration:

<?xml version="1.0" encoding="utf-8"?>
<config>
    <!---->
    <default>
        <mbiz_twitter>
            <general>
                <oauth_access_token/>
                <oauth_access_token_secret/>
                <consumer_key/>
                <consumer_secret/>
            </general>
        </mbiz_twitter>
    </default>
</config>

You can of course set it by using a system.xml file with your configuration fields to manage it in admin panel.