Hello Guest if you want to filter your posts by title and your titles are following a petturn like
Followers 200394
Followers 299517
Followers 299910
Followers 69962
Followers 203232
Followers 68459
here is the different Id 🆔 and I'm filtering these posts by lua script using regex pattern now put this code in script section.💕
local is_ok, posts = api.post_info({limit=999})
local filteredPosts = {}
for _, post in ipairs(posts) do
if post.title:match("Followers%s*%d+") then
table.insert(filteredPosts, post)
end
end
-- Now filteredPosts contains the posts that match the pattern
for _, post in ipairs(filteredPosts) do
print(post.title .. "<br>")
end