userbradley / bereal Goto Github PK
View Code? Open in Web Editor NEWHow does BeReal work (Under the hood)
Home Page: https://breadnet.co.uk/how-be-real-works/
License: MIT License
How does BeReal work (Under the hood)
Home Page: https://breadnet.co.uk/how-be-real-works/
License: MIT License
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 80 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 3 |
Inspecting the network requests and their responses, posts have their image URL in this form:
/Photos/[userId]/post/[imageId].webp
Is it possible to guess the imageId
somehow?
Hi i just discovered new api Endpoint :
POST https://ogma.bereal.team/chat.core.v1.ChatCoreService/SendMessage //send message
GET https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetMessages //get message
GET https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetConversationsById //get message with id members
GET https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetConversationFeed /get the feed
GET https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetPendingInvites //get invitation
POST https://ogma.bereal.team/chat.core.v1.ChatCoreService/ClearConversation //clear message
POST https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetSentInvites // send invitation
Best,
Maxime
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 83 |
β Successful | 82 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 0 |
Full Github Actions output |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
BeReal changed the feed and person endopoints (i guess). So this APIs don't work anymore
Could you please provide more information about how to send the requests? How to do the authentication & authorization etc..? Because I would like to make a BeReal wrapper, so I would really appreciate that. (Including the login endpoint, register endpoint etc... Also adding a little bit more info to the endpoints would be very nice)
Thanks!
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 43 |
β Successful | 42 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 0 |
β Unknown | 0 |
π« Errors | 1 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 82 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 1 |
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
.github/workflows/auto-assign.yaml
kentaro-m/auto-assign-action v2.0.0
.github/workflows/broken-link-checker.yaml
actions/checkout v4
lycheeverse/lychee-action v1.10.0
peter-evans/create-issue-from-file v5.0.0
.github/workflows/deploy-site.yaml
actions/checkout v4
actions/setup-python v5
actions/cache v4
.github/workflows/pre-commit.yaml
actions/checkout v4
pre-commit/action v3.0.1
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 83 |
β Successful | 82 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 0 |
Full Github Actions output |
Status | Count |
---|---|
π Total | 84 |
β Successful | 80 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 3 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 43 |
β Successful | 42 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 0 |
β Unknown | 0 |
π« Errors | 1 |
In example I request https://mobile.bereal.com/api/relationships/friends
and i get a JSON containing 3 main fields
{
"next": "QQAspebQYVc538hQtJbHgG73iTJ3",
"total": 0,
"data": [...]
}
How do I use the next field to get more results about my friends as it's not showing the full array?
For issues related to the API, or reverse engineering please open a discussion
I tried lot of tests with this endpoint but can't figure out how to use it. I used it with the path (ex. /api/search/profile/xyz), query parameters (ex. ?query, ?user, ?profile...) but I'm always getting 400 (Bad Request) errors. Is there any example on how to use it?
If the specification is clear I could do.
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
after running the command : mkdocs serve
this is the output :
INFO - DeprecationWarning: 'materialx.emoji.twemoji' is deprecated.
Material emoji logic has been officially moved into mkdocs-material
version 9.4. Please use Material's
'material.extensions.emoji.twemoji'
instead of 'materialx.emoji.twemoji' in your 'mkdocs.yml' file.
```
markdown_extensions:
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
```
'mkdocs_material_extensions' is deprecated and will no longer be
supported moving forward. This is the last release.
File
"/opt/homebrew/lib/python3.11/site-packages/materialx/emoji.py", line
118, in twemoji
return _patch_index(options)
File
"/opt/homebrew/lib/python3.11/site-packages/materialx/emoji.py", line
68, in _deprecated_func
warnings.warn(
WARNING - Material emoji logic has been officially moved into mkdocs-material
version 9.4. Please use Material's
'material.extensions.emoji.twemoji'
instead of 'materialx.emoji.twemoji' in your 'mkdocs.yml' file.
```
markdown_extensions:
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
```
'mkdocs_material_extensions' is deprecated and will no longer be
supported moving forward. This is the last release.
INFO - Building documentation...
Traceback (most recent call last):
File "/opt/homebrew/bin/mkdocs", line 8, in <module>
sys.exit(cli())
^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mkdocs/__main__.py", line 270, in serve_command
serve.serve(**kwargs)
File "/opt/homebrew/lib/python3.11/site-packages/mkdocs/commands/serve.py", line 86, in serve
builder(config)
File "/opt/homebrew/lib/python3.11/site-packages/mkdocs/commands/serve.py", line 67, in builder
build(config, live_server=None if is_clean else server, dirty=is_dirty)
File "/opt/homebrew/lib/python3.11/site-packages/mkdocs/commands/build.py", line 277, in build
config = config.plugins.on_config(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mkdocs/plugins.py", line 527, in on_config
return self.run_event('config', config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mkdocs/plugins.py", line 507, in run_event
result = method(item, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/material/plugins/social/plugin.py", line 138, in on_config
self.font = self._load_font(config)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/material/plugins/social/plugin.py", line 454, in _load_font
self._load_font_from_google(name)
File "/opt/homebrew/lib/python3.11/site-packages/material/plugins/social/plugin.py", line 477, in _load_font_from_google
zip = ZipFile(tmp)
^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.8/Frameworks/Python.framework/Versions/3.11/lib/python3.11/zipfile.py", line 1304, in __init__
self._RealGetContents()
File "/opt/homebrew/Cellar/[email protected]/3.11.8/Frameworks/Python.framework/Versions/3.11/lib/python3.11/zipfile.py", line 1371, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
any ideas ??
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
Just a suggestion but creating a bereal reverse-engineering hub (e.g. on discord) could make sense, especially as they seem to work on making reverse engineering consistently harderβ¦
Status | Count |
---|---|
π Total | 84 |
β Successful | 81 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 1 |
β Unknown | 0 |
π« Errors | 2 |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.