Extension talk:TweetANew
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| New articles work, edited articles doesn't | 2 | 15:18, 9 March 2012 |
| Simply won't work | 5 | 01:34, 3 January 2012 |
| Proposed extension merger | 0 | 21:38, 19 December 2011 |
| Incompatible with MW1.18 | 1 | 02:24, 1 December 2011 |
| Post major updates as well? | 1 | 23:43, 19 August 2011 |
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
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!
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.
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.
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:
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 -
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.
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.
It is now compatible with MW1.18+ as well - thank you User:Reedy!
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.