Archive for Tag ‘cross post‘

Fun with WordPress HTTP API, Redirection and Cookies: WPGPlus 0.8.1

Google Cookie Monster from November 2009 – from Web Pro News

This weekend I checked in and released a new version (0.8, followed by 0.8.1 this am) of WPGPlus, the WordPress plugin I wrote which cross-posts to Google+ when new blog posts are published in WordPress.

Because Google hasn’t yet released a read-write API (their API only allows for reading data from Google+ not posting into it), the plugin uses a hack from this twitter bot script, and emulates the Google+ mobile interface: it logs in as you and posts on your behalf.

Read more…

Introducing WPGPlus: Posting from WordPress to Google+

Inspired by seeing comments in Google+ about the need for a WordPress cross-post, I whipped up a quick WordPress plugin: WPGPLus.

For now, since the Google+ API is read-only, I’m borrowing inspiration from Luka Puši?’s GPlus Bot and Dmitry Sandalov’s Twitter 2 Google Plus script.

This means emulating the Google+ mobile web experience using Curl.

WPGPlus adds a box to the post edit screen where you can choose yes/no for publishing to Google+, as well as a place for a message to be used in the body.

(If you provide a Google+ message it is used; if you provide a post excerpt it is used; otherwise post content is used).

Anyway, check it out and let me know what you think!

Testing Facebook PHP SDK 3.1.1

OK, no more testing, no more publishing and unpublishing this page.

WPBook 2.3 is released. This uses the same Facebook SDK (3.1.1) as WPBook Lite which I just released last weekend – this will make it easier to manage both.

It will also let me start work on adding more features to the plugin- a more stable base to work from.


Read more…

Facebook Graph API – Post Versus Link

Difficult Choices. (Photo by Beppie K, cc-by-nc-sa license)

Over in the WordPress Support forums for WPBook, WPBook user TheCitizen was asking about the absence of “share” links on Wall Excerpts posted via WPBook. I responded that in my experience posts made via the API (by an App, rather than by the user directly) don’t get “share” links inside Facebook.

He pointed to Facebook Page Publish, a WordPress plugin which also cross-posts to Facebook (though it does not import comments). Posts made via this plugin do get a share link.

Digging in a bit, I realized that Facebook Page Publish uses the Link object in the Facebook Graph API, whereas WPBook and WPBook Lite both use a Post object.

What’s the difference? That’s what I’m trying to determine now.

Read more…

Cross post Twitter to StatusNet with StatusNet Tools

A few weeks back I created a little plugin that works with Alex King‘s Twitter Tools, using an API it provides to also post your notices to a StatusNet instance (Identi.ca, Twit.tv, etc).

You can find that plugin here: Twitter Tools StatusNet (and should be able to find it soon on wordpress.org).

What I hadn’t realized at the time was just how Twitter Tools itself worked, and what that meant about the StatusNet plugin.

Twitter Tools follows all of your tweets, not just those which you enter via WordPress or generate as new blog post notifications. What this means is that using Twitter Tools in combination with the StatusNet plugin, everything you post on Twitter gets also posted to the StatusNet instance you’ve configured.

Everything you post on Twitter, regardless of it’s source: desktop client, SMS, web client, etc.

This means you’ve got to be careful. If you use Identi.ca, for example, and have your Identi.ca account configured to cross post to Twitter (which is a popular option) you’ll create a loop. You post to Identi.ca, which cross posts to Twitter, where Twitter Tools finds it and (with my plugin in place) cross posts to Identi.ca, which cross posts to Twitter, and so on (repeat until someone tells you your account has gone crazy).

Read more…