Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#277 2020-12-09 22:41:59
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
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
Re: TXP Tweet: arc_twitter and arc_twitter_intents
Alternatively, you can go the non-external script, native way github.com/colak/neme/blob/master/pages/about.tpl#L76 and github.com/colak/neme/blob/master/pages/about.tpl#L167.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#280 2020-12-10 07:55:16
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
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 | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline