s-alad / toofake

View friends BeReals without posting or them knowing. Post custom BeReal's whenever. Add custom realmojis
https://toofake.lol/
MIT License
152 stars 33 forks source link

Question: How to reliably receive a BeReal notification #41

Closed Himura2la closed 1 year ago

Himura2la commented 1 year ago

The Android app does a very bad job in delivering the BeReal notification in time, so I wonder if it's possible to know that the 2-minute interval is started for my timezone?

You may have noticed some kind of API for that, maybe it's something similar to websockets or long-polling REST endpoint, or at least an endpoint that informs whether the BeReal time has come or not...

My goal is to create a telegram bot that will alert me and my friends that the BeReal time has come. Can I ask you to give my some clues about their internals? I guess I have no chance to capture the original firebase push out of my phone, so I'm searching for other options...

s-alad commented 1 year ago

Hey, unfortunately I don't think I stumbled upon any endpoint or socket that may help you with that issue. I think BeReal use firebase cloud messaging to send their notification, and I don't know of anyway to tap into that. You can check out the archived BeFake code, it may have some hints, but from what I saw I couldn't find anything

Himura2la commented 1 year ago

Thank you for your answer!