Thank God Instagram replied to my message 🙏
Not literally — but I kinda submitted an issue that could benefit programmers and users too.
And this is how they solved it 👀
I’ll explain more when I release the project.
I actually finished the project before but didn’t release it because of that issue. Something recently triggered me to continue working on it — still with the same issue (not from me tho, but from IG).
Just a glimpse of it: users couldn’t download their full data, plus I wanted to upgrade it like using a new library.
🔥3❤1
mefelasefing stuff use this code to check cbe tranfers receipts
made it just now
/**
* Generates a CBE receipt transaction link
* @param {string} transactionId - The transaction ID (e.g., "FT25296C4YJC")
* @param {string|number} senderAccount - The sender's account number (will use last 8 digits)
* @returns {string} The complete transaction link
*/
function generateCbeReceiptLink(transactionId, senderAccount) {
if (!transactionId || transactionId.trim() === '') {
throw new Error('Transaction ID is required');
}
const accountStr = senderAccount.toString();
if (accountStr.length < 8) {
throw new Error('Sender account must have at least 8 digits');
}
const last8Digits = accountStr.slice(-8);
const baseUrl = "https://apps.cbe.com.et:100/?id=";
return `${baseUrl}${transactionId}${last8Digits}`;
}
/**
* Verifies a CBE receipt link
* @param {string} receiptLink - Full CBE receipt URL
*/
async function verifyCbeReceipt(receiptLink) {
try {
const response = await fetch(receiptLink);
if (!response.ok) {
console.log("Verified Receipt ✅");
} else {
console.log("Receipt link is accessible ✔️");
}
} catch (error) {
console.error("Error fetching the receipt:", error.message);
}
}
made it just now
❤1
for-coder
mefelasefing stuff use this code to check cbe tranfers receipts /** * Generates a CBE receipt transaction link * @param {string} transactionId - The transaction ID (e.g., "FT25296C4YJC") * @param {string|number} senderAccount - The sender's account number…
ik pepoles might send duplicate receipts this is only 50% i will release that can handle duplication too
this is just some indomie stuff for now 🫠
this is just some indomie stuff for now 🫠
😁2
One of the things I like about telegram
Like I can watch the animation only more than 10X
WHO DESIGNED THE UI AND ANIMATIONS 👌💙🤌
Like I can watch the animation only more than 10X
💯1
Coding is fun until it starts to do what you told it to do instead of what its you want it to do....🤷♂️
😁4
Good night 🌃 swoch
Need me some pills(panadol)🤕 headache is spinning my head
Need me some pills(panadol)🤕 headache is spinning my head
🥴1
What's with the weather these days day time the sun🥵 zn when you thought you're done with it the cold around the evening 🥶
😭1