Extension talk:TweetANew

From MediaWiki.org
Jump to: navigation, search
Start a new discussion

Contents

Thread titleRepliesLast modified
New articles work, edited articles doesn't215:18, 9 March 2012
Simply won't work501:34, 3 January 2012
Proposed extension merger021:38, 19 December 2011
Incompatible with MW1.18102:24, 1 December 2011
Post major updates as well?123:43, 19 August 2011

New articles work, edited articles doesn't

Hi,

I've managed to get this working for new articles (automatically). For editing articles I want to use the checkbox.

It worked once :-) for an edited article. But I also can't get the Bitly working either.. Once back disabled Bitly, MediaWiki tweets for new articles auto, but not for edited articles when the checkbox is checked.

These are my settings in localsettings.php for MediaWiki :

require_once("$IP/extensions/TweetANew/TweetANew.php");^M $wgTweetANewTwitter['ConsumerKey'] = '*************';^M $wgTweetANewTwitter['ConsumerSecret'] = '***************';^M $wgTweetANewTwitter['AccessToken'] = '***********************';^M $wgTweetANewTwitter['AccessTokenSecret'] = '********************';^M $wgTweetANewTweet['New'] = true;^M $wgTweetANewTweet['Edit'] = false;^M $wgTweetANewEditpage['Enable'] = true;^M $wgTweetANewBitly['Enable'] = false;^M $wgTweetANewBitly['Login'] = '3railWiki';^M $wgTweetANewBitly['API'] = '***********************';^M

82.95.82.16213:36, 2 March 2012

Which version of MediaWiki are you operating under?

Varnent (talk)13:50, 8 March 2012

Geïnstalleerde softwareProduct Versie MediaWiki 1.17.0 PHP 5.2.10 (apache2handler) MySQL 5.0.84

82.95.82.16215:18, 9 March 2012
 
 

Simply won't work

Hello,

The extension is installed and configured as described in the extension page but still no tweets.

What could I be doing wrong? I didn't touch Oauth settings or requests settings.

Access level is Read and write under OAuth settings. Access level is Read-only under Your access token.

Please help!

Thanks!

196.217.237.1303:54, 2 January 2012

Thank you for reporting this - helpful in improving the extension and documentation.  :)

You do you want to have both read & write for your access token as well by selecting Read and Write as the Application Type under your application's Settings tab.

Also, you may want to redownload or update the checkout of the extension if you downloaded it a couple days ago. There was a bug in a lib file that was caught after it was in the live extension for a few hours.

Varnent08:31, 2 January 2012

I already did what you said, I'm using the latest available snapshot as of this writing. I'm on hostmonster shared hosting and here is my configuration:

require_once("$IP/extensions/TweetANew/TweetANew.php");
$wgTweetANewTwitter['ConsumerKey'] = '000000000000';
$wgTweetANewTwitter['ConsumerSecret'] = '00000000000000000';
$wgTweetANewTwitter['AccessToken'] = '00000000000000000000000';
$wgTweetANewTwitter['AccessTokenSecret'] = '000000000000000000000000000';
// Then I added  
$wgTweetANewTweet['New'] = false;
$wgTweetANewTweet['Edit'] = false;
$wgTweetANewEditpage['Enable'] = true;
$wgTweetANewEditpage['Checked'] = true;

Thanks again.

196.217.237.1312:47, 2 January 2012

Hmmm - I just duplicated those settings on my test wiki - and it seems to be working alright. Which version of MediaWiki are you running? Mind if I visit the wiki and Twitter account?

Here's a couple of screenshots of the config I have setup if that helps any:

Varnent22:46, 2 January 2012

Your last answer was helpful, the problem was solved with http://screencast.com/t/VnFG7OJa4yD I had access set to read only under Your access token, I searched everywhere to reset it but I couldn't so I assumed that was not the problem, the only way to make it read and write was to reset the app keys.

I suggest that you add to the extension page that both OAuth settings and Your access token should have read and write access level.

Thanks again!

Maroc Wiki uses MediaWiki 1.18 - Maroc Wiki's tweets -

41.250.11.24901:23, 3 January 2012

Excellent! Glad it's up and running for you - let me know if you run across any features you'd like added or modified. Will update the documentation right now and maybe add that photo for navigation assistance. Twitter's Dev page isn't always the most intuitive.  :)

Varnent01:34, 3 January 2012
 
 
 
 
 

Proposed extension merger

As mentioned on author's discussion pages - I'd like to merge these three extensions - Extension:TweetANew, Extension:Wiki2twitter, Extension:SendToTwitter - with the overlapping goal of posting tweets to Twitter once an article is created or updated. Will also likely work to include Extension:SendToTwitter2 at some point. Twitter app names aren't suppose to contain the word "Twitter" - so will use the "TweetANew" name as the final merged extension. "New" will loosely apply to new articles and new revisions to articles - should technically now be "TweetANewAndUpdates"...but that's just not as nice sounding and creating yet another extension space seems unnecessary. Credit to all original extension developers will remain intake in the merged extension.

Varnent21:33, 19 December 2011

Incompatible with MW1.18

We're doing a test installation of MW1.18 and this extensions seems to cause errors when you save an article. Let me know if you want any more specifics.

Varnent03:46, 7 November 2011

It is now compatible with MW1.18+ as well - thank you User:Reedy!

Varnent02:24, 1 December 2011
 

Post major updates as well?

Edited by author.
Last edit: 23:43, 19 August 2011

Love this extension! Any chance it could be modified to also post significant updates? Perhaps based on the size of the edit rather than if minor edit was left unchecked. That addition as an option would be great! Here's an example of an extension (Extension:Wiki2twitter) that goes to something of the extreme with this idea.

--Varnent 07:43, 31 July 2011 (UTC)23:42, 19 August 2011

You could always edit the hook that is calling the tweet function. I'll see what I can do if I find some time!

—The preceding unsigned comment was added by Joa ds (talkcontribs) 21:56, 17 August 2011 (UTC). Please sign your posts with ~~~~!23:43, 19 August 2011
 
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox