1 of 42

AutoTweetNG

& Joocial

How to AutoTweet from Joomla! in 5 minutes

Presentation based on Joomla 3 and AutoTweetNG 8.6�

2016-04-13

2 of 42

How to AutoTweet from Joomla! in 5 minutes

In this presentation, we are going to show how you can AutoTweet from Joomla! to Facebook, Twitter or LinkedIn.

3 of 42

Prerequisites

  • AutoTweetNG Free, PRO or Joocial 8.0 (or superior)
  • A Facebook account
  • A Twitter account
  • A LinkedIn account
  • System requirements:

- Joomla 3.4, or superior

- PHP 5.3 or superior

- MySQL 5.5, or superior (recommended)

4 of 42

Configuration Steps

  1. Download & Install
  2. Create and authorize Social Channels
    1. Add Facebook Channel
    2. Add Twitter Channel
    3. Add LinkedIn Channel
  3. Create a new article to test a Post
  4. Advanced: Posting on page load vs cronjob task
  5. One last word

5 of 42

Download & Install AutoTweetNG

Download, unzip and install AutoTweetNG in Joomla! backend with standard procedure.

About AutoTweetNG updates:

Install the update with the same procedure.

6 of 42

Download & Install AutoTweetNG

AutoTweetNG component has been installed.

System plugin - AutotweetAutomator has been installed and enabled, to process new content and posts every 3 minutes.

System plugin - AutotweetContent has been installed and enabled, to publish Joomla content.

7 of 42

Create and authorize Social Channels

Go to AutoTweetNG Control Panel to create and authorize social channels

TIP: Remember to assign Download ID to enable all features.

8 of 42

Add channel / Facebook

AutoTweetNG requires the Facebook account authorization.

Each Profile, Page or Group is a different channel.

Facebook requires to create an app

9 of 42

Add channel / Facebook

Create a Facebook App

Login at https://developers.facebook.com/apps with your Facebook username and password

Create App

10 of 42

Add channel / Facebook

Create a Facebook App

Now, you have your own:

App ID

App Secret

11 of 42

Add channel / Facebook

Create a Facebook App

Go to Settings, Add Platform - Select Website

Enter your website Site URL

12 of 42

Add channel / Facebook

Create a Facebook App

Don’t forget to make it public (App Review)

13 of 42

Add channel / Facebook

Go to AutoTweetNG Control Panel, select Channels and click on New

14 of 42

Add channel / Facebook

Assign channel type and data

1. Facebook App: Fill the form with App Id and App Secret

15 of 42

Add channel / Facebook

2. Authorization: After the authorization, the Facebook application provides the Access Token

16 of 42

Add channel / Facebook

2. Authorization

TIP: Facebook dialogs may differ according to Facebook API version.

17 of 42

Add channel / Facebook

Validate the Access token and the User ID will be filled

18 of 42

Add channel / Facebook

Select the specific Facebook channel (Page, group, or profile)

Validate Channel and Save

19 of 42

Add channel / Facebook

On July 18th, 2017, Facebook changed how the post fields are loaded. The value of picture, name, caption, thumbnail and description is taken ONLY from the OpenGraph Tags.

It is strongly recommended implementing OpenGraph Tags.

20 of 42

Add channel / Facebook

To enable it, you must install the file plg_autotweet_facebook-opengraph_v...zip and configure the parameters. The plugin is installed by default in AutoTweetNG PRO and Joocial v8.14 or superior.

21 of 42

Add channel / Facebook

All parameters are straightforward, and they are defined to work following the best practices.

22 of 42

Add channel / Facebook

AutoTweetNG is ready to publish!

A new authorization Access token has been granted.

A new Facebook Channel has been created.

By default, all new articles are going to be published to Facebook.

23 of 42

Add channel / Twitter

Login at https://apps.twitter.com/ with your Twitter username and password

Create an application to start using the Twitter API

24 of 42

Add channel / Twitter

Fill the application details and create the app

25 of 42

Add channel / Twitter

Go to Permissions tab, Access must be Read and Write

26 of 42

Add channel / Twitter

Now you have your Consumer Keys

Press "Create my access token"

27 of 42

Add channel / Twitter

Now you have your Consumer Keys and Access Tokens

28 of 42

Add channel / Twitter

Go to AutoTweetNG Control Panel, select Channels and click on New

29 of 42

Add channel / Twitter

Assign Channel type and data

30 of 42

Add channel / Twitter

Copy and paste your keys and token in channel details

Click on Validate and the User ID will be filled

31 of 42

Add channel / Twitter

AutoTweetNG is ready to publish!

A new Twitter App, keys and tokens have been created.

A new Twitter Channel has been created.

By default, all new articles are going to be published to Twitter.

32 of 42

Add channel / LinkedIn

Every Profile or Company channel is a different channel.

A channel access requires the account authorization.

33 of 42

Add channel / LinkedIn

Login at ttps://www.linkedin.com/developer/apps with your LinkedIn username and password.

Create a new Application

LinkedIn Groups for Partners - Changes to the Developer Program -

LinkedIn let us know about some significant changes to their Developer Program that will go into effect on May 12, 2015. Read More - Transition FAQ

34 of 42

Add channel / LinkedIn

Select r_basicprofile, w_share and rw_company_admin permissions

Assign the Authorized Redirect URLs:

http://www.Your-Domain.com/administrator/index.php?option=com_autotweet

35 of 42

Add channel / LinkedIn

Go to AutoTweetNG Control Panel, select Channels and click on New

36 of 42

Add channel / LinkedIn

Assign Channel type and data

Copy and paste Client ID and Client Secret

Save

Click on the “Step 1 - Authorize” button

37 of 42

Add channel / LinkedIn

Allow access�Access token and User ID will be filled

You will be redirected back to the channel

38 of 42

Add channel / LinkedIn

Validate and Save

39 of 42

Add channel / LinkedIn

AutoTweetNG is ready to publish!

A new LinkedIn Cliend ID, secret and token have been created.

A new LinkedIn Channel has been created.

By default, all new articles are going to be published to LinkedIn.

40 of 42

Create a test article

1. Create an article 4. Check the Posts list

2. Check the Requests list 5. Check Facebook,

3. Wait 3 minutes, visit the frontpage Twitter, or LinkedIn

Requests

Rules

Posts

Plugins

Feeds

41 of 42

Advanced: Posting on Page Load vs Cronjob mode

There is always a delayed publication, caused by Social Channel API processing times. By default, only when front pages are visited, Requests and Posts are processed by the Automator plugin (every 2-3 minutes). The processing modes are:

1. Manual: you can push a request in the queue

2. Automator Plugin: on front-site page load, requests and posts are processed

3. Cronjob task: on periodic intervals, a command line processes requests and posts

4. Web Cronjob task: similar to the previous case, but script is executed in a web context

The Automator Plugin is the most common solution. However, Cronjob provides stability on periodic intervals. To configure the Cronjob task, you must run the command line:

  1. Enable and configure cronjob mode in AutoTweetNG backend parameters.
    1. Options / Cronjob mode / Cron mode = On.
    2. Define Base URL Override
  2. Execute the Cronjob script task
    • Command line option�
    • Web Command option

Reference: User Manual: Automating your social publishing

php -f /[PATH_TO_JOOMLA_ROOT]/cli/autotweetstartcronjob.php�

wget -O /dev/null "http://www.yoursite.com/index.php?option=com_autotweet&view=cron&task=run&key=Secret"

42 of 42

One last word

We love your feedback, it's our way to improve.

This presentation was created with your help.

Please post a rating and a review at the #JED

It really helps ;-)

Support: http://support.extly.com�Community Forum Support: http://www.extly.com/forum/index.html

Twitter @extly

Facebook facebook.com/extly