Textpattern CMS support forum

You are not logged in. Register | Login | Help

#271 2015-04-15 20:11:37

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 447
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

“I have been considering adding a ‘Retweet’ option to the article panel so that the original tweet could be reissued (not sure if Twitter will allow this though). Is this the sort of thing you’re after?”

Yes – it is. That would be useful.

I’m using the plugin quite a lot and maybe five times now, for various reasons, I needed to send a tweet again for the same article. In fact it’s just happened again which is why I’m checking the forum. This time – because for some unknown reason the image thumbnail didn’t display. So I have to start again.

You can of course delete the plugin and install it again which clears the database. I’ve done that several times but it’s obviously not ideal.

Great plugin – I find twitter a useful and interesting platform so the integration is very useful.

Offline

#272 2016-11-15 14:58:52

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,025
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Tried to install on 4.6.2. No errors until you hit Options. At that point, you get:

8192 "Non-static method arc_twitter::callbackURL() should not be called statically"
in /home/xxxxx/xxxxx/textpattern/lib/txplib_misc.php(1782) : eval()'d code at line 773.

textpattern/lib/txplib_misc.php(1782) : eval()'d code:773 adminErrorHandler()
textpattern/lib/txplib_misc.php:1895 arc_twitter_prefs()
textpattern/index.php:214 callback_event()

You can also click “Connect to Twitter” which seems to work and then fails on the last step. Anyone else have any ideas before I dive in?

Added p. for the last line.
– Uli –

Last edited by uli (2016-11-15 15:12:02)


Michael K. Pate | Pate Technologies

Offline

#273 2016-11-15 15:34:03

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,025
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Update: I got that error resolved.

public static function callbackURL($event,$step)
	{
		return preg_replace('/\?.*/', '',PROTOCOL.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'])
		  .'?event='.$event.'&step='.$step;
	}

I also figured out what error Twitter is returning:


Whoa there! The request token for this page is invalid. It may have already been used, or expired because it is too old. Please go back to the site or application that sent you here and try again; it was probably just a mistake.

Apparently this is not a unique problem but I am still trying to figure out where and how to correct it.


Michael K. Pate | Pate Technologies

Offline

#274 2018-02-05 22:33:50

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

Re: TXP Tweet: arc_twitter and arc_twitter_intents

arc_twitter has been updated to support Twitter’s increased tweet character length.

Offline

Board footer

Powered by FluxBB