Try   HackMD

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Updates to IFTTT free tier - IFTTT

20230523 起 IFTTT 免費用戶將只能新增兩個來源連結,
且無法再連結 Twitter,本文僅供留存參考用。

IFTTT

設定步驟

  1. 在想要中介轉貼資訊的 Discord 頻道右方點擊 齒輪 (設定)
    或是直接點選 伺服器選單 進入 伺服器設定 ,點擊進到 Webhooks 分頁

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  2. 點擊右上角 新增一個 Webhooks
    選擇 要傳送訊息的頻道,替自動推播機器人 命名修改頭像
    並複製這時出現的網址,第 11 步會用到

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  3. IFTTT 上註冊帳號
    (可直接使用其他網站帳號登入)

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  4. 點擊右上角頭像點選 Create

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  5. 按 If This 的 This

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

  1. 選擇要獲取訊息的服務,這次是要從推特拿訊息,
    所以在搜尋列輸入 Twitter 選推特

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  2. 選擇要獲取的對應事件,這次例子是要拿 GBF 新推文
    所以點下方的 New tweet by a specific user
    (當某位特定使用者發送推文時)

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  3. 輸入發送推文的帳號: granbluefantasy

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  4. 按 Then That 的 That

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  5. 輸入 Webhooks 選取 Webhooks
    只會出現一個功能選項,直接點選

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  6. 在 URL 欄位貼上 第 2 步複製的網址
    Method 選 POST
    Content Type 選 application/json
    Body 複製貼上 ↓ (※ {} 也要複製)

{ 
  "content":"@{{UserName}} {{CreatedAt}}: {{LinkToTweet}}" 
}

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

  1. 按下 Create action 與下一頁的 Finish,到此才算完成
    指定帳號發送推文後,就會自動轉貼到指定的 Discord 頻道上

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  2. 欲修改時,同樣點選頭像的 My Applets

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

    即可看到目前啟用的程序,點入欲修改的程序後,點選右上角 Settings
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

    便可修改獲取訊息的帳號、傳送伺服器、訊息格式etc. 等內容

pipedream

  • 自訂性極高,可依需求進行細部設定
  • 採定期執行模式,無法立即轉送推文至 Discord 頻道

設定步驟

  1. 註冊帳號或使用其他平台帳號快速登入
  2. Select a source 選「Twitter」-> 選「User Tweets」-> 登入推特取得 API 授權
  3. Screen name 輸入想轉推的帳號 -> 點「Create source」
  4. 網站會自動跳到 Sources 分頁 -> 點「Create workflow」-> 點下面的「+」
  5. 選「Discord webhook」-> 選「Send message to channel」
  6. 登入 Discord 取得 API 授權 -> 選擇要轉發的伺服器與頻道
  7. 點 params 底下的 +message
  8. 本文以轉貼網址為例,故此處輸入 https://twitter.com/{{steps.trigger.raw_event.user.screen_name}}/status/{{event.id_str}}
  9. 點上方的「deploy」-> 點開 steps.trigger 右邊的開關
  10. 完成!