Twitter: The Official Plugin -- YES!

762 views
Skip to first unread message

@TiddlyTweeter

unread,
May 17, 2017, 2:07:27 PM5/17/17
to tiddl...@googlegroups.com
Hardly noticed yet is the really, really good Official Plugin for Twitter embeds in TiddlyWiki.

Its very comprehensive and makes much, much easier the embedding of Twitter posts, timelines, as well as follow & mention buttons.

This, taken alongside the recent development of native TW tools for direct posting to Twitter, makes it a very inviting and rounded aspect of social networking now very well supported by TW.

Lets have a bit of flag-waving for it :-).

Best wishes
Josiah





Auto Generated Inline Image 1

TW Smith

unread,
Jul 6, 2017, 9:18:41 PM7/6/17
to TiddlyWiki
Hi,

I found the official Twitter plugin in TiddlyWiki official plugins.

And, it seems I can install it.

And, I can type <$twitter> in my script.

But, I don't know how to use this plugin. For example, can I embed tweets with a hashtag? Embed posts from a certain@TwitterAccount, or how else can I use this?

I am new to plugins. I figured this would be an introduction, but I can't find documentation on using this.

Thanks for any advise.

Sean

@TiddlyTweeter

unread,
Jul 7, 2017, 4:43:51 AM7/7/17
to tiddl...@googlegroups.com
Ciao TW Smith

Its actually easy to use. Much easier than having to embed the various Twitter gizmos by the normal route.

At first it looks complicated. It isn't when you "twig it". You to need experiment a bit to understand how to use it.

I suggest you navigate to Control Panel > Plugins

Then click on "Twitter for TiddlyWiki" then the "usage" tab for the plugin to see the options.



Here is an example. Copy the text below into a new Tiddler and the timeline for @TiddlyTweeter should appear. You just change "TiddlyTweeter" to any Twitter address you want. The same applies to all the other examples. Save the Tiddler. Refresh the browser. Hopefully, voila!

<$twitter type="timelineUrl" url="https://twitter.com/TiddlyTweeter"/>

Two things to note ...

1 - You must save and then REFESH for it to work.

2 - The Twitter official plugin is aimed solely at embedding single tweets and various types of timeline. Its does NOT enable direct tweeting of Tiddlers. For that you need other tools.

Best wishes
Josiah
Auto Generated Inline Image 1
Auto Generated Inline Image 2

TW Smith

unread,
Jul 10, 2017, 9:23:28 AM7/10/17
to tiddl...@googlegroups.com
Grazie. Thanks for getting back so quickly. Will give it a whirl.

Cheers,

Sean

On Fri, Jul 7, 2017 at 4:43 AM, @TiddlyTweeter <tiddly...@assays.tv> wrote:
Ciao TW Smith

Its actually easy to use. Much easier than having to embed the various Twitter gizmos by the normal route.

At first it looks complicated. It isn't when you "twig it". You to need experiment a bit to understand how to use it.

I suggest you navigate to Control Panel > Plugins

Then click on "Twitter for TiddlyWiki" then the "usage" tab for the plugin to see the options.



Here is an example. Copy the text below into a new Tiddler and the timeline for @TiddlyTweeter should appear. You just change "TiddlyTweeter" to any Twitter address you want. The same applies to all the other examples. Save the Tiddler. Refresh the browser. Hopefully, voila!

<$twitter type="timelineUrl" url="https://twitter.com/TiddlyTweeter"/>

Two things to note ...

1 - You must save and then REFESH for it work.


2 - The Twitter official plugin is aimed solely at embedding single tweets and various types of timeline. Its does NOT enable direct tweeting of Tiddlers. For that you need other tools.

Best wishes
Josiah

TW Smith wrote:
I am new to plugins. I figured this would be an introduction, but I can't find documentation on using this.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/BrpZsIAqd3g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a4814574-cd64-4ac5-bb66-b3fcb6bfce44%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

TW Smith

unread,
Jul 10, 2017, 9:06:02 PM7/10/17
to tiddl...@googlegroups.com
Brilliant. I am on my way!

On Fri, Jul 7, 2017 at 4:43 AM, @TiddlyTweeter <tiddly...@assays.tv> wrote:
Ciao TW Smith

Its actually easy to use. Much easier than having to embed the various Twitter gizmos by the normal route.

At first it looks complicated. It isn't when you "twig it". You to need experiment a bit to understand how to use it.

I suggest you navigate to Control Panel > Plugins

Then click on "Twitter for TiddlyWiki" then the "usage" tab for the plugin to see the options.



Here is an example. Copy the text below into a new Tiddler and the timeline for @TiddlyTweeter should appear. You just change "TiddlyTweeter" to any Twitter address you want. The same applies to all the other examples. Save the Tiddler. Refresh the browser. Hopefully, voila!

<$twitter type="timelineUrl" url="https://twitter.com/TiddlyTweeter"/>

Two things to note ...

1 - You must save and then REFESH for it work.


2 - The Twitter official plugin is aimed solely at embedding single tweets and various types of timeline. Its does NOT enable direct tweeting of Tiddlers. For that you need other tools.

Best wishes
Josiah

TW Smith wrote:
I am new to plugins. I figured this would be an introduction, but I can't find documentation on using this.

--

TW Smith

unread,
Dec 3, 2017, 8:32:51 PM12/3/17
to TiddlyWiki
Hi,

Okay, am back to this. I can get the example to work and pull in tweets from an account, like my Seanb_scsu account. But, is there a way to pull in based on Twitter hashtag and also a way to not pull in old Tweets, based on date? For example I'd be really interested in limiting the Tweets pulled in to a semester or a year at most.

Thoughts?

Cheers,

Sean

@TiddlyTweeter

unread,
Dec 4, 2017, 7:33:50 AM12/4/17
to TiddlyWiki
Ciao Sean

@Jermolene's Twitter Feeds  plugin is, as far as I understand it, fully open to the Twitter API for feeds.

I'll have a look and see if it has access to the filtering you need.

Later
Josiah

TW Smith

unread,
Dec 10, 2017, 5:40:01 PM12/10/17
to TiddlyWiki
Hi,

So, @Jermolene's Twitter plugin is very comprehensive. And, I can embed Tweets from a Twitter user, based on username.

What I would like to do is embed content based on hasgtag. I note that there's a hashtag button in hte plugin, but that's different. The hashtag button let's me click and Tweet with the hashtag that is identified. So, I could post using <$twitter type="hashtagButton" hashtag="TiddlyWiki"/> and sign into Twitter and Tweet with that hashtag.

Instead, I am looking to embed Tweets with a given hashtag.

Thoughts?

Cheers,

Sean

ste...@gmail.com

unread,
Dec 11, 2017, 11:46:32 AM12/11/17
to TiddlyWiki
I really like the idea of the Twitter plugin. However, whenever I try to embed a single tweet or a Twitter feed, all I get is "Can't render tweet". This applies even to the example in the "usage" tab of the plugin. This happens in standalone TW 5.1.14, in Firefox and Chrome/Chromium, both on Windows and on Linux.

Does anyone have an idea why?

Thank you,

Stef


@TiddlyTweeter

unread,
Dec 11, 2017, 12:00:43 PM12/11/17
to TiddlyWiki
First off. Try again after a refesh.

Not working? What browser are you on?

ste...@gmail.com

unread,
Dec 11, 2017, 12:15:39 PM12/11/17
to TiddlyWiki

On Monday, December 11, 2017 at 6:00:43 PM UTC+1, @TiddlyTweeter wrote:
First off. Try again after a refesh.

Thank you! Strangely enough, the following approach really works: Open TW, download Twitter plugin, save, reload (Twitter plugin still doesn't work), save TW again, reload => Twitter plugin works. Even the sample tweet in the documentation of the plugin only appeared after the second reload. I wonder why...

I did this in Firefox 52.5.0. Haven't tried it in Chrome and on Linux yet (the problem occurred there, too).

Cheers,

Stef

Jeremy Ruston

unread,
Dec 11, 2017, 12:21:50 PM12/11/17
to tiddl...@googlegroups.com
First off. Try again after a refesh.

Thank you! Strangely enough, the following approach really works: Open TW, download Twitter plugin, save, reload (Twitter plugin still doesn't work), save TW again, reload => Twitter plugin works. Even the sample tweet in the documentation of the plugin only appeared after the second reload. I wonder why…

A standard but confusing behaviour of certain plugins is that it takes two “save cycles” for them to work properly.

The reason is that the plugin hooks into the “save” process itself in order to pull in Twitter’s scripts. At the point of the first save after downloading the plugin, it isn’t actually installed, and so doesn’t get a chance to apply it’s hook. After the reload, the plugin is properly installed and so the save hook works properly.

Best wishes

Jeremy.


I did this in Firefox 52.5.0. Haven't tried it in Chrome and on Linux yet (the problem occurred there, too).

Cheers,

Stef

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

coda coder

unread,
Dec 11, 2017, 1:04:57 PM12/11/17
to TiddlyWiki


On Monday, December 11, 2017 at 11:21:50 AM UTC-6, Jeremy Ruston wrote:

A standard but confusing behaviour of certain plugins is that it takes two “save cycles” for them to work properly.

The reason is that the plugin hooks into the “save” process itself in order to pull in Twitter’s scripts. At the point of the first save after downloading the plugin, it isn’t actually installed, and so doesn’t get a chance to apply it’s hook. After the reload, the plugin is properly installed and so the save hook works properly.


I had a similar issue so I thought that might be what was wrong here.  So I just retried it.  Nope, all I see is "Can't render tweet".  Even the example in the plugin says the same thing.

BTW, I'm serving my TW over node via TiddlyServer on http... if that matters.

Coda

Jeremy Ruston

unread,
Dec 12, 2017, 10:44:06 AM12/12/17
to tiddl...@googlegroups.com
Hi CodaCoder


A standard but confusing behaviour of certain plugins is that it takes two “save cycles” for them to work properly.

The reason is that the plugin hooks into the “save” process itself in order to pull in Twitter’s scripts. At the point of the first save after downloading the plugin, it isn’t actually installed, and so doesn’t get a chance to apply it’s hook. After the reload, the plugin is properly installed and so the save hook works properly.


I had a similar issue so I thought that might be what was wrong here.  So I just retried it.  Nope, all I see is "Can't render tweet".  Even the example in the plugin says the same thing.

Do the examples work when you visit https://tiddlywiki.com/prerelease/ ?

Do you see any error messages in the browser developer console? 

I guess it might be an http vs. https thing, except that I’m pretty sure that the Twitter stuff worked back when tiddlywiki.com was on http.

Best wishes

Jeremy


BTW, I'm serving my TW over node via TiddlyServer on http... if that matters.

Coda


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Jeremy Ruston

unread,
Dec 12, 2017, 10:50:15 AM12/12/17
to tiddl...@googlegroups.com

On 10 Dec 2017, at 22:40, TW Smith <techwo...@gmail.com> wrote:

What I would like to do is embed content based on hasgtag

This can be done as follows:

1. Visit https://twitter.com/settings/widgets and create a new “search” widget that shows your desired timeline
2. Extract the id of the widget from the embedded markup that Twitter displays (it will appear within the extract as data-widget-id=“940608834741121025” or similar
3. Insert it into the following markup:

<$twitter type="timelineWidget" widgetId="940608834741121025"/>

There are some docs here:


Best wishes

Jeremy.

coda coder

unread,
Dec 12, 2017, 3:57:11 PM12/12/17
to TiddlyWiki
Jeremy...

On Tuesday, December 12, 2017 at 9:44:06 AM UTC-6, Jeremy Ruston wrote:
Hi CodaCoder


I had a similar issue so I thought that might be what was wrong here.  So I just retried it.  Nope, all I see is "Can't render tweet".  Even the example in the plugin says the same thing.

Do the examples work when you visit https://tiddlywiki.com/prerelease/ ?


Yes!
 
Do you see any error messages in the browser developer console? 

No -- nothing pertinent, anyway (just PUTs, GETs and syncer-browser-tiddlyweb msgs getting skinny tid lists)

I'm leaning toward http(s) issues.

coda coder

unread,
Dec 12, 2017, 3:59:40 PM12/12/17
to TiddlyWiki


On Tuesday, December 12, 2017 at 2:57:11 PM UTC-6, coda coder wrote:

I'm leaning toward http(s) issues.


Although, saying that, I should see console msgs, right?  FF is normally pretty good with that kind of issue.

Is there an outgoing request I should see?  I have every optional console filter (Errors, Warnings, Logs, et al) turned on...

Jeremy Ruston

unread,
Dec 13, 2017, 6:02:11 PM12/13/17
to tiddl...@googlegroups.com
Hi CodaCoder

Although, saying that, I should see console msgs, right?  FF is normally pretty good with that kind of issue.

I was hoping there might have been an error message; the absence of one probably doesn’t mean much.

It might be worth trying to serving a simple HTML file that uses a Twitter embed code from their site, to remove TW from the equation as a MTC

Best wihes

Jeremy.

Is there an outgoing request I should see?  I have every optional console filter (Errors, Warnings, Logs, et al) turned on...

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

TW Smith

unread,
Jan 1, 2018, 7:55:59 PM1/1/18
to TiddlyWiki
Thanks Jeremy. This worked perfectly. 

Along these lines, what should I be thinking of in terms of using Twitter within TW? Can you recommend any particular use cases?

Cheers,

Sean
Reply all
Reply to author
Forward
0 new messages