Skip to content

Tweet65

Oliver Schmidt edited this page Jul 30, 2022 · 9 revisions

Tweet65 triggers an If This Then That maker webhook which is supposed to be configured to post a tweet on Twitter.

It is currently available for the C64, the enhanced Apple //e and the Atari.

Tweet65 doesn't support a static IP configuration so a DHCP server is obligatory.

It is primarily an example for triggering an IFTTT maker webhook - which is really simple: Just call ip65_init, then dhcp_init and finally ifttt_trigger.

Note: For receiving an IFTTT maker webhook you may read IFTTT.

If you however want to use Tweet65 as is to post a tweet on Twitter then you need to set up an Applet on IFTTT like this:

  • Create an If This Then That account and sign in.
  • Choose New Applet.
  • Click +this.
  • Search for webhooks.
  • Click Connect.
  • Click Receive a web request.
  • Set Event Name to tweet.
  • Click Create trigger.
  • Click +that.
  • Search for twitter.
  • Click Connect
  • Enter your Twitter account data in popup window.
  • Click Post a tweet.
  • Set Tweet text to {{Value1}}.
  • Click Create Action.
  • Click Finish.

Now your Applet is complete. But in order to actually trigger it you need to know the key that IFTTT generated for your maker webhook:

  • Click your account name in the upper right.
  • Click Services.
  • Search for webhooks.
  • Click Documentation in the upper right.
  • Note the chars after Your key is:

When you run Tweet65 for the first time it asks you for your IFTTT webhook key. If you enter any chars they will be saved in the file IFTTT.KEY for subsequent runs. After successful network initialization Tweet65 asks for the Text of your tweet. If you enter any chars it triggers your webhook in order to have the tweet posted.

C64

The C64 version of Tweet65 supports the RR-Net and the ETH64 Ethernet devices.

Enhanced Apple //e

The Apple //e version of Tweet65 supports the Uthernet, the LANceGS and the Uthernet II Ethernet cards.

The file TWEET65 is the actual program. It is intended to be run from BASIC.SYSTEM and returns directly to BASIC. The file TWEET65.SYSTEM is intended to be run from a ProDOS selector without the need for BASIC.SYSTEM and returns to the selector (after an additional key press).

Tweet65 presumes the Ethernet card to reside in slot 3. If however your Ethernet card resides in a different slot you can create a file named ETHERNET.SLOT. Only the first byte of that file is relevant. This byte can either represent your Ethernet card slot as binary value (e.g. $04 for slot 4), as ASCII digit (e.g. $34 for slot 4) or as Apple TEXT digit (e.g. $B4 for slot 4).

ATARI

The ATARI version of Tweet65 supports the Dragon Cart Ethernet device.

Clone this wiki locally