Twitter-api – Twitter API V2 reply to a tweet
I am trying hard to find a way to reply to a tweet with Twitter API V2, but it seems there is no endpoint for doing something like that, in Twitter Developer docs i found a way to post and…
I am trying hard to find a way to reply to a tweet with Twitter API V2, but it seems there is no endpoint for doing something like that, in Twitter Developer docs i found a way to post and…
i have seen this question asked around a couple times, but never found a proper answer that works for me, so i will give it a go. I have sat up a worker service in its own docker container which…
I'm using Postgres (via Supabase) and Node (via NextJS on Vercel). I have a table report which has columns for an enum region, and generated_text which is content generated by AI. create type region as enum ( 'America', 'Europe', 'Asia',…
Currently I'm developing an APP using Node.JS and MongoDB. I'm trying to insert multiple documents with predefined _id s and some ObjectId arrays. When I use insertMany all documents _id fields are strings instead of ObjectId. However when I use…
const { hashGen } = require('crypto'); var hash = hashGen('sha256').update(hash).digest('hex'); I am being given the error: TypeError: hashGen is not a function I tried to create a password with a salt in front of it, and then hash it with…
I am developing telegram bot using grammy. I use two sessions in my bot: one with external storage, one with memory storage (for conversations). bot.use(session({ profile : { storage : require('./storage.js') }, conversation : {}, type : 'multi' })); I…
time: { $currentDate: { $type: "timestamp" } } }); It's not working for insert() can you help me, anyone?
I need to convert an Rijndael encryption function from C# to Node. But I cannot match the result, even with the same Key, IV, Mode and Block Size. What am I doing wrong? C# MRE: using System.Security.Cryptography; byte[] encrypted; using…
Here is the code: function sleep(ms:number) { return new Promise((resolve:any,reject:any) => setTimeout(resolve,ms)) } async function errorFunc(): Promise<void> { await sleep(2000) console.log("error throw") throw new Error("critical error"); } let promises: Promise<void>[] = [] for(let i = 0; i < 1; i++)…
` I'm trying to populate my select dropdown options with values that come from an API call as soon as the page loads. Currently, the options are only generated, how can i list options in select field. On page load,…