Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2009-12-05 15:12:42

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 238
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

hurty wrote:

I’ve installed the plugin, but I’m not seeing any content on the “Twitter” tab under extensions and while the “update twitter” option is displayed on the article “write” page, no update is actually sent to twitter when I post an article. (the arc_twitter table in the database is empty.)

This sounds like you’ve added a username and password, but that they are not being recognized by Twitter. I’ve just released a new version of the plugin (v0.1.2) that checks that the provided username and password are valid on the preferences screen that should help with this problem.

blueprint wrote:

I’ve installed the pluging; the Twitter tab under extensions works fine; I can add and delete tweets from it.

However, adding tweets from articles doesn’t work at all. The radio button appears; and when I publish the article; but the article is not adde to the arc_twitter table; and there’s no tweet??

Again, try the latest version of the plugin (v0.1.2) as there was a little bit of a bug with the article tweet function that should have been fixed now. arc_twitter will only update Twitter with articles that are posted as live and not posted at a future date/time.

Offline

#12 2009-12-05 15:20:48

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 238
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

rathersplendid wrote:

In addition to Destry’s suggestion, might I add to it by suggesting an option to set the tweet’s prefix and suffix beneath the ‘Update Twitter Yes/No’ option.

I think mem_twitter has the ability to set the default output for the tweets and it would be nice to do the same here, but with a little more functionality; the suffix input box could be used for hashtags…

Also, sometimes the tweets do not work, especially if the article is saved as pending and then made live, does this sound like something that could affect the publishing of a tweet?

Also, many thanks for creating the plugin

I’ve actually been thinking about adding a prefix option with the next major release of the plugin, but like your suggestion of allowing suffixes as well. A couple of issues have held me back on doing this so far. Firstly, one of the main aims of my plugin was to keep it simple, so I need to make sure that its implementation is easy to use for all who post on a Textpattern site with the plugin installed. Secondly, the character limit of tweets (140 characters) is a bit of a limiting factor that needs to be considered when adding further text to the start/end of an update; perhaps this can be dealt with by placing a character restriction of the prefix/suffix that ensures that there is still reasonable space for the article title and url. Possibly a shorter prefix than suffix (I like the idea of adding hashtags to the end of the tweet).

Offline

#13 2009-12-05 15:30:02

blueprint
Member
From: Netherlands
Registered: 2006-03-05
Posts: 43
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Thanks for paying attention to this. However, installing the version 0.1.2 results in an error. Tweeting from the extension tab works fine. But, when writing an article and setting the twitter radio button to yes results in the error:

Notice: Trying to get property of non-object in /var/www/html/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 250.

Any idea on how to solve this??

I appreciate help for this usefull plugin.

Offline

#14 2009-12-06 11:44:58

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 238
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

blueprint wrote:

Thanks for paying attention to this. However, installing the version 0.1.2 results in an error. Tweeting from the extension tab works fine. But, when writing an article and setting the twitter radio button to yes results in the error:

Notice: Trying to get property of non-object in /var/www/html/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 250.

Any idea on how to solve this??

I appreciate help for this usefull plugin.

That’s a bit strange if you are able to tweet from the extensions tab but not tweet an article. My first suggestion would have been to check you are using the correct username and password, but that is clearly not the case. It seems that Twitter doesn’t like whatever is being sent. Is this a consistent problem? What is the article title that is being sent to be tweeted? That may be breaking something.

I’m working on the next release of the plugin. I’ll try and work something in to suppress this error and hopefully provide some feedback on what has happened so that it is easier to try and figure out what is going wrong in future.

Offline

#15 2009-12-09 08:39:04

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

The prefix and suffix suggestions are excellent. Suffix great for #hashsearches. Fantastic if you could add this. Thanks for the plugin.

For now I’m adding #tags to the title, saving the article, and then quickly deleting the #tags from the title and resaving. – Not perfect but it works.

Tweet me @the_rock_of_gib

Last edited by geoff777 (2009-12-09 13:01:51)


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#16 2009-12-17 22:10:07

speeke
Member
From: Bruny Island, Australia
Registered: 2009-03-29
Posts: 161
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Hi Andy, just wondering:

1. what type of url shortening your plugin uses? I am using Stef’s smd_short_url plugin on my site, which produces urls in the format: site.com/article_ID. I’d like to provide the links in this format if possible.

2. how the articles are truncated to Twitter’s 140 character limit? Is it possible to optionally instruct your plugin to accept the excerpt as the text (where the excerpt text is less than or equal to 140 characters, naturally)?

PS: I also left a comment on your website – sorry for the duplication, but thought this may be the better place to post my queries.


“People who value their privileges above their principles soon lose both.”
Dwight D. Eisenhower

Offline

#17 2009-12-17 22:23:20

Destry
Moderator
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,220
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

monkeyninja wrote:

(I like the idea of adding hashtags to the end of the tweet).

I agree with you there, Andy. This does seem to be the de facto way of doing it in the Twittersphere, and it just makes sense; you read the message and then see the context. Done.


The text persuades, the *notes prove。

Offline

#18 2010-01-01 20:54:48

Qwest
Member
From: London, UK
Registered: 2007-01-24
Posts: 112

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Thank you so much for this plugin. So easy to use & implement.

I’d like to echo speeke & monkeyninja’s comments. I’d love to be able to use smd_short_url’s short url’s instead of other url shorteners. I’d also love to add hashtags to the end of the tweets.

I’d also like to schedule posts to go ‘live’ in the future (which is more than capable with TXP) but have the tweet published when the post goes live in the future. At the moment, it ignores any posts which are scheduled.

Good work :)

Offline

#19 2010-01-03 18:57:09

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 238
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Sorry for the slow response, the last month has been somewhat eventful. A new version of the plugin is in the works and should include a new prefix/suffix feature and improved public tags to accommodate Destry’s original request.

speeke wrote:

Hi Andy, just wondering:

1. what type of url shortening your plugin uses? I am using Stef’s smd_short_url plugin on my site, which produces urls in the format: site.com/article_ID. I’d like to provide the links in this format if possible.

2. how the articles are truncated to Twitter’s 140 character limit? Is it possible to optionally instruct your plugin to accept the excerpt as the text (where the excerpt text is less than or equal to 140 characters, naturally)?

PS: I also left a comment on your website – sorry for the duplication, but thought this may be the better place to post my queries.

In answer to your questions:-

  1. Currently arc_twitter is using TinyURLs I am looking into using other methods in the future, possibly providing a choice. I haven’t seen Stef’s plugin, but I will check it out when I get chance to start working on this.
  2. Tweets are constructed from the article title with the shortened URL appended to the end; the next major release of the plugin will allow you to add text to the front and end of the tweet. I hadn’t really considered using the excerpt as the text. Incidentally if the article title + shortened url are more than 140 characters long the article title will be automatically shortened; obviously the new prefix/suffix feature will affect this too.

Offline

#20 2010-01-03 20:41:59

drnoble
New Member
Registered: 2010-01-02
Posts: 3

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Andy,

Just a quick note to add my thanks for this plugin, and note support for the option of using http://mysite.com/ID# short links plus tweet prefix/suffixes.

I am using gbp_permanent_links on my site, and have hardcoded these two changes in to your plugin; but it would be nice to have a UI for them!

Also, when truncating, would it be possible to use the ellipsis character (…) rather than three dots (which would save two of the 140 characters!)

Offline

Board footer

Powered by FluxBB