Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#277 2020-12-09 22:41:59

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 295
Website GitHub Twitter

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Has anyone a working version for Textpattern 4.8.x?

Seems to me, that the used TwitterOAuth v0.2.0-beta2 from 2009 is too old. The latest one is already 2.0.1, but more complex and unfortunately the author monkeyninja said good bye to Textpattern.

Offline

#278 2020-12-10 00:28:48

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,868
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Are you wanting to simply output a twitter feed to your webpage?

I don’t recall how i did but i currently have a twitter output on my home page usng this code:

<div id="twitter_div">  
<a class="twitter-timeline" width="250" height="300" href="https://twitter.com/YOURID" data-widget-id="358723390632247296">Tweets by @YOURID</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>

I think i got it from the Twitter api pages.


…. texted postive

Offline

#279 2020-12-10 05:02:48

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,724
Website GitHub Twitter

Re: TXP Tweet: arc_twitter and arc_twitter_intents


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#280 2020-12-10 07:55:16

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 295
Website GitHub Twitter

Re: TXP Tweet: arc_twitter and arc_twitter_intents

No, I want to tweet new articles from inside Textpattern, so it’s about arc_twitter.

Offline

#281 2020-12-10 09:34:34

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,724
Website GitHub Twitter

Re: TXP Tweet: arc_twitter and arc_twitter_intents

I’m wondering if adi_notes can parse txp tags on the back-end. Do ask in that thread and, if it does, the following untested code may work in combination with the recommended twitter meta-tags.

<a href="http://www.twitter.com/intent/tweet?url=<txp:permlink id='<txp:article_id />' />" title="Share on Twitter">Post on Twitter</a>

Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB