b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Releases
  • Skins
  • Plugins
  • Locales
 
  • « Markdown Plugin
  • Auto Anchors Plugin »

Ping Twitter plugin

Categories: Other Plugins, 3.x (incomplete list), 4.x (incomplete list), 5.x, Bundled plugin
Bundled plugin: If you're using a b2evolution version that supports this plugin, it is already in your plugins folder. There is no need to download it. If it is not installed yet, simply click "Install new" in your plugin list.

This plugin is supported only through PRO Support.

This plugin enables you to automatically send a tweet to Twitter.com every time you publish a new post on your blog (or in a specific collection).

In order to use this plugin you will need to have access to the Twitter API and create your own "b2evolution" Twitter app. Please read the announcement of this requirement.

We do not recommend using this plugin. It is complex to set up and once it works, Twitter keeps breaking it by changing their API limits and abuse detection algorithms. It needs high maintenance involvement to keep working, which is not the goal of b2evolution

Author
Last tested in version

Plugin Settings

Ping Twitter plugin
  • API key: enter the key provided by Twitter when you created your Twitter app.
  • API secret: enter the API secret provided by Twitter when you created your Twitter app.

Creating a Twitter App

This plugin uses the Twitter API so you need to first create a Twitter app for your website.

Ping Twitter plugin
Take note of the highlighted fields. Change your settings accordingly.

For the Callback URLs field, use your website URL + /htsrv/call_plugin.php.

Once you have created your Twitter App, you will be provided with a consumer API key and API secret key. Use these keys to fill-out the System plugin settings above. You should now be able link a Twitter account for each collection in your site.

Per Collection Settings

Linking a Twitter Account to a Collection

Each Collection can be linked to a different Twitter account (if needed). It is assumed that you have already created a Twitter app and have already set the API keys mentioned above.

Start by going to the plugin setting for a specific collection.

IMPORTANT: Do not confuse this with the System plugin settings above. You really want the Collection specific plugin settings here.

You will find a settings block for each plugin. The one that interests us here looks like this:

Ping Twitter plugin
The link to associate the collection to a Twitter account is only available if you already have provided the necessary Twitter API keys

Click the Click here to link to your twitter account link to associate this collection to a specific Twitter account. You will be redirected to a separate Twitter page where you can authorize your b2evolution collection to use your Twitter account (you will have to enter your Twitter username and password):

Ping Twitter plugin

Once you have successfully linked your account, you will be redirected back to your b2evolution’s plugin settings and the settings block should now look like this:

Ping Twitter plugin

Tweet Format

You can specify the format of your "tweets" (what gets posted to Twitter) by configuring the Message format.

By default, the format is Just posted $title$ $url$ #b2p. You can edit this freely. The following variables will be replaced with the appropriate content from your new post:

  • $title: the title of the post/article.
  • $excerpt$: excerpt of the post/article content.
  • $url$: permanent link URL of the post/article.

When do the pings happen?

The pings are sent out when "notifications for a new post" are sent out. At this time, several "ping" plugins may get triggered.

For additional information on what happens after each new post, please see: After Each New Post Panel

Tags: 6.10.7PRO Supporttwitter

1 comment

User ratings
5 star:
 
(1)
4 star:
 
(0)
3 star:
 
(0)
2 star:
 
(0)
1 star:
 
(0)
1 rating
Average user rating:
(5.0)

Comment from: jamesblackcse Member

James Black

Worked Great!

2015-01-15 @ 17:43


Form is loading...

Plugin Repository

Plugins are little PHP scripts that allow you to add features that are not (yet) built into the b2evolution core.

How to...

  • Introduction to Plugins
  • How to install a plugin (after downloading it)
  • How to make a new plugin
 Upload a plugin!
Submit your own plugin

User log in

Lost your password?
Register »

Search by keyword

Filtering options

Retain only results that match:

XML Feeds

  • RSS 2.0: Posts, Comments
  • Atom: Posts, Comments
What is RSS?

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque