monsieurbiz/mbiz_twitter

Magento module which adds the support of the Twitter API.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 0

Open Issues: 0

Type:magento-module

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

This package is auto-updated.

Last update: 2024-12-29 04:21:42 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.