Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@actionsflow/trigger-twitter
Advanced tools
@actionsflow/trigger-twitter
This is an Actionsflow twitter trigger. You can watch the user_timeline
updates by using this trigger.
on:
twitter:
event: user_timeline
auth:
consumer_key: ${{ secrets.TWITTER_CONSUMER_KEY }}
consumer_secret: ${{ secrets.TWITTER_CONSUMER_SECRET }}
access_token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access_token_secret: ${{ secrets.TWITTER_ACCESS_SECRET }}
params:
screen_name: theowenyoung
event
, optional, default is user_timeline
, for now only support user_timeline
.auth
, required, twitter api authentication, you should get it from Twitter Developers App
auth:
consumer_key: ${{ secrets.TWITTER_CONSUMER_KEY }}
consumer_secret: ${{ secrets.TWITTER_CONSUMER_SECRET }}
access_token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access_token_secret: ${{ secrets.TWITTER_ACCESS_SECRET }}
params
, optional, fetch twitter api query params, for user_timeline
, you must provide screen_name
field, for example:
params:
screen_name: theowenyoung
count: 50,
exclude_replies: true,
include_rts: true,
tweet_mode: "extended",
every
, optional, fetch interval, the unit is minute, the default value is 5
skip_first
, optional, should skip the first items, the default value is false
max_items_count
, optional, the feed items max length, the default value is undefined
, it will trigger all itemsThis trigger's outputs will be the item of the following results.
An outputs example:
{
"created_at": "Wed Aug 12 02:01:00 +0000 2020",
"id": 1293366847476134000,
"id_str": "1293366847476133888",
"full_text": "test tweets...",
"truncated": false,
"display_text_range": [0, 30],
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [],
"urls": []
},
"source": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"user": {
"id": 1241294513575878700,
"id_str": "1241294513575878656",
"name": "Owen Young",
"screen_name": "TheOwenYoung",
"location": "",
"description": "love workflows",
"url": null,
"entities": {
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 2,
"friends_count": 52,
"listed_count": 1,
"created_at": "Sat Mar 21 09:24:27 +0000 2020",
"favourites_count": 4,
"utc_offset": null,
"time_zone": null,
"geo_enabled": false,
"verified": false,
"statuses_count": 28,
"lang": null,
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "F5F8FA",
"profile_background_image_url": null,
"profile_background_image_url_https": null,
"profile_background_tile": false,
"profile_image_url": "http://pbs.twimg.com/profile_images/1241298955742273536/E26HEH2o_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1241298955742273536/E26HEH2o_normal.jpg",
"profile_link_color": "1DA1F2",
"profile_sidebar_border_color": "C0DEED",
"profile_sidebar_fill_color": "DDEEF6",
"profile_text_color": "333333",
"profile_use_background_image": true,
"has_extended_profile": true,
"default_profile": true,
"default_profile_image": false,
"following": false,
"follow_request_sent": false,
"notifications": false,
"translator_type": "none"
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"is_quote_status": false,
"retweet_count": 0,
"favorite_count": 0,
"favorited": false,
"retweeted": false,
"lang": "zh"
}
You can use the outputs like this:
on:
twitter:
event: user_timeline
auth:
consumer_key: ${{ secrets.TWITTER_CONSUMER_KEY }}
consumer_secret: ${{ secrets.TWITTER_CONSUMER_SECRET }}
access_token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access_token_secret: ${{ secrets.TWITTER_ACCESS_SECRET }}
params:
screen_name: theowenyoung
jobs:
print:
name: Print
runs-on: ubuntu-latest
steps:
- name: Print Outputs
env:
text: ${{ on.twitter.outputs.full_text }}
run: |
echo text: $text
FAQs
Actionsflow trigger twitter
The npm package @actionsflow/trigger-twitter receives a total of 16 weekly downloads. As such, @actionsflow/trigger-twitter popularity was classified as not popular.
We found that @actionsflow/trigger-twitter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.