Hey everyone! Just a quick heads-up that our API access is currently paused for INSTAGRAM and FACEBOOK because of it hit limits/needs subscription renewal. If you'd like support the project and help get everything back up and running, you can support on KO-FI / SOCIABUZZ via the link in my profile. Every little bit helps, and i truly appreciate all your support!
https://sociabuzz.com/gnalo/tribe
or
What's New
Version 1.5
Fixing bugs of the API-Key
What it does
114 actions-
If
-
Set VariableRawLink
-
If
-
Get Clipboard
-
Set VariableRawLink
-
Get URLs from Input
-
Get Item from List
-
Set VariableLink
-
URL Encode
-
If
-
Get Contents of URLhttps://www.tikwm.com/api/?url=…&hd=1
-
Get Dictionary Value
-
Set Variabledata
-
Get Dictionary Value
-
Set VariableSlideList
-
If
-
Count
-
Ask for InputSlideshow Tiktok Have…Type Slide Number
-
Set VariableSlideNo
-
If
-
Number
-
Set VariableSlideNo
-
If
-
Set VariableSlideNo
-
Get Item from List
-
Set VariableOneSlide
-
Get Contents of URL…
-
Save to Photo Album
-
If
-
Get Dictionary Value
-
If
-
Set VariableVideoUrl
-
If
-
Get Dictionary Value
-
Set VariableVideoUrl
-
If
-
Get Contents of URL…
-
Save to Photo Album
-
If
-
If
-
Get Contents of URLhttps://digitaldialogue.com.au/api/info?url=…
-
Get Dictionary Value
-
Get Dictionary Value
-
Get Contents of URL…
-
Save to Photo Album
-
If
-
If
-
Get Contents of URLhttps://api.fastsaver.io/v1/fetch?url=…
-
Get Dictionary Value
-
Get Contents of URL…
-
Save to Photo Album
-
If
-
If
-
Match Text
-
If
-
Get Group from Matched Text
-
Set VariableTweetID
-
Get Contents of URLhttps://api.fxtwitter.com/status/…
-
Get Dictionary Value
-
If
-
Set VariableTweetStatus
-
Get Dictionary Value
-
Set VariableTweetMedia
-
Get Dictionary Value
-
If
-
Get Item from List
-
Get Dictionary Value
-
Set VariableMediaURL
-
Get Contents of URL…
-
Save to Photo Album
-
Show AlertTDownload
-
If
-
Get Dictionary Value
-
If
-
Set VariableSlideList
-
Count
-
If
-
Ask for InputX has … photos. Type slide number
-
Set VariableSlideNo
-
Get Item from List
-
Set VariableChosenPhoto
-
If
-
Get Item from List
-
Set VariableChosenPhoto
-
Get Dictionary Value
-
Get Contents of URL…
-
Save to Photo Album
-
Show Notification
-
If
-
Show Alert
-
If
-
If
-
Show Alert
-
If
-
If
-
Text
-
Get Contents of URLhttps://api.apify.com/v2/actors/hipersoft~threads-downloader/run-sync-get-dataset-items?token=apify_api_NzlbsJr8diZUnCsxVCYfjRTggLta8v0jdCbN
-
Get Item from List
-
Get Dictionary Value
-
Set VariableSlideList
-
Count
-
If
-
Ask for InputThreads has … media. Type slide number
-
Set VariableSlideNo
-
Get Item from List
-
Set VariableSelectedURL
-
If
-
Get Item from List
-
Set VariableSelectedURL
-
URL
-
Get Contents of URL…
-
Save to Photo Album
-
Show Notification
-
If
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#include 'actions/sharing'
#define color teal
#define glyph lightningBolt
if ShortcutInput {
@RawLink = ShortcutInput
} else {
getClipboard()
@RawLink
}
const URLs = getURLs(@RawLink)
getFirstItem(URLs)
@Link
urlEncode(@Link)
if @Link contains "tiktok" {
const ContentsOfURL = downloadURL("https://www.tikwm.com/api/?url={}&hd=1", {})
@data = ContentsOfURL['data']
@SlideList = @data['images']
if @SlideList {
const Count = count(@SlideList)
prompt("Slideshow Tiktok Have{Count}Type Slide Number", "Number")
@SlideNo
if @SlideNo < 1 {
@SlideNo = 1
}
if @SlideNo > Count {
@SlideNo = Count
}
getListItem(@SlideList, @SlideNo)
@OneSlide
const ContentsOfURL1 = downloadURL(@OneSlide)
savePhoto(ContentsOfURL1)
} else {
const DictionaryValue = getValue(@data, "hdplay")
if DictionaryValue {
@VideoUrl = DictionaryValue
} else {
@VideoUrl = @data['play']
}
if @VideoUrl {
const ContentsOfURL2 = downloadURL(@VideoUrl)
savePhoto(ContentsOfURL2)
}
}
} else {
if @Link contains "instagram" {
const ContentsOfURL3 = downloadURL("https://digitaldialogue.com.au/api/info?url={}", {})
const DictionaryValue1 = getValue(ContentsOfURL3, "direct")
const ContentsOfURL4 = downloadURL(, {
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
})
savePhoto(ContentsOfURL4)
} else {
if @Link contains "facebook" || @Link contains "fb.watch" || @Link contains "fb.com" {
const ContentsOfURL5 = downloadURL("https://api.fastsaver.io/v1/fetch?url={}", {
"X-Api-Key": "fs_sk_3g1m5e5z6l5a0a2w4c9y0y7o2a2e"
})
const ContentsOfURL6 = downloadURL()
savePhoto(ContentsOfURL6)
} else {
if @Link contains "x.com" || @Link contains "twitter.com" || @Link contains "t.co" {
const Matches = containsText(@Link, "/status/([0-9]+)", false)
if Matches {
getMatchGroup(Matches, 0)
@TweetID
const ContentsOfURL7 = downloadURL("https://api.fxtwitter.com/status/{@TweetID}")
const DictionaryValue2 = getValue(ContentsOfURL7, "tweet")
if DictionaryValue2 {
@TweetStatus = DictionaryValue2
@TweetMedia = @TweetStatus['media']
const DictionaryValue3 = getValue(@TweetMedia, "videos")
if DictionaryValue3 {
const ItemFromList = getFirstItem(DictionaryValue3)
@MediaURL = ItemFromList['url']
const ContentsOfURL8 = downloadURL(@MediaURL, {
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15"
})
const VideoSaved = savePhoto(ContentsOfURL8)
alert("( X ) Video saved", "TDownload ")
} else {
const DictionaryValue4 = getValue(@TweetMedia, "photos")
if DictionaryValue4 {
@SlideList = DictionaryValue4
const Count1 = count(@SlideList)
if Count1 > 1 {
prompt("X has {Count1} photos. Type slide number", "Number")
@SlideNo
getListItem(@SlideList, @SlideNo)
@ChosenPhoto
} else {
getFirstItem(@SlideList)
@ChosenPhoto
}
const ContentsOfURL9 = downloadURL()
const PhotoSaved = savePhoto(ContentsOfURL9)
showNotification("", "( X ) Photo saved", false)
} else {
confirm("No video or photo in this post.")
}
}
} else {
}
} else {
confirm("Link is not valid. Use link that has /status/...")
}
} else {
if @Link contains "threads" {
const Text = "{\\"postUrls\\":[\\"{@Link}\\"]}"
const ContentsOfURL10 = fileRequest("https://api.apify.com/v2/actors/hipersoft~threads-downloader/run-sync-get-dataset-items?token=apify_api_NzlbsJr8diZUnCsxVCYfjRTggLta8v0jdCbN", "POST", Text, {
"Content-Type": "application/json"
})
const ItemFromList1 = getListItems(ContentsOfURL10, 0, 0)
@SlideList = ItemFromList1['downloadUrls']
const Count2 = count(@SlideList)
if Count2 > 1 {
prompt("Threads has {Count2} media. Type slide number", "Number")
@SlideNo
getListItem(@SlideList, @SlideNo)
@SelectedURL
} else {
getListItem(@SlideList, 0)
@SelectedURL
}
url(@SelectedURL)
const ContentsOfURL11 = downloadURL()
const ThreadsVideoSaved = savePhoto(ContentsOfURL11)
showNotification("", "( Threads ) Media saved", false)
} else {
}
}
}
}
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by gnalo
You Might Also Like
Advertisement