Closed mast-and closed 3 months ago
How are you able to see it?
At the top of the page, after you post a bereal, the "friends of friends" options will appear.
Is it posible to have this into the app?
@dominik-pm This feature isn't even live in BeReal, right?
it is but it would be cool to see it added in befake
@Breathix I can't access this feature in BeReal.
https://github.com/notmarek/BeFake has this feature
https://github.com/notmarek/BeFake has this feature
code has been removed due to c&d
Any plans for this feature?
Maybe anyone who still has code from notmarek?
From what I remember the endpoint was https://mobile.bereal.com/api/feeds/friends-of-friends
but this endpoint is giving me a 401 Error.
I also haven't seen this feature on the official app so I have no way of reverse engineering it.
live now^ the endpoint returns the feed like this: { posts: [ { id: 'XXXX', user: [Object], moment: [Object], primary: [Object], secondary: [Object], takenAt: 'XXX', postedAt: 'XXXX', lateInSeconds: 0, realmojis: [Object], tags: [] } ], next: 'XXXXXX==' }
but haven't figured out how to show the next page yet, i remember it was a req param like {page: next} or sth
You just have to add to the query the "page" argument.
So the url for the request with the next token given to you by the api (which btw is just some base64 encoded json object) will look like this: https://mobile.bereal.com/api/feeds/friends-of-friends?page={nextTokenHere}
To see how this and other endpoints work, just disassemble the base.apk file from the apkm file you can download from apkmirror :-)
Also (i know, shameless plug), if you don't feel like coding it in your fork yourself, you can check out my bereal client on here: BeUnblurred. (it's open source ;-D)
looks sick, I'll try it asap
Ah yes, i'm on vacation right now so I haven't been able to take a close look at the update yet. Your client looks good tho^
Ah yes, i'm on vacation right now so I haven't been able to take a close look at the update yet. Your client looks good tho^
Thanks :-)
https://mobile.bereal.com/api/feeds/friends-of-friends?page={nextTokenHere}
It now looks that that endpoint returns 0 posts if you haven't posted a public BeReal.
Yep and they also fixed switching to private multiple times a day:
You have to post a bereal and have that enabled in your bereal to see friends of friends
It would be great to see the postings of my friends' friends. Since the new update implements this.