Skip to main content
← Data, API & Backend
Data, API & Backend May 22, 2024 · 7 replies

Get picture's profile for each new comment - Social media

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

I'm creating a social media with bravo + airtable + firebase.
Airtable: I've “User” table within fields: name + comment + picture profile + emails & user IDs (both retrieve from firebase.)
Firebase: I have emails + user IDs only.

When a user post a comment, I would like to get his own picture + name + comment.
But, currently, I'm able to get only the name + comment + email & user Id (provided by firebase) but not the picture profile through airtable for each new comment posted.

My question is : When a user post a comment, how to get his own picture + name + comment ?
To clarify my question, for example, with facebook or linkedin or any social medias, when a user post a comment all people will see his own name + comment + picture.

As you can see at the last record (Soupa) you can see name + email + userid + comment but not the picture.
I’m sure it’s not complicated. Thank you by advance.

7 replies

Marielle Ibias Bravo team May 23, 2024

Hey @Soufiane, Can you share how is the profile picture being received with this api request please? A screenshot of the received data and the output variables would be very helpful.

As its in an array, you should receive the image in a dropdown. Make sure to select the first item “0” and then, select the image URL.

Soufiane May 23, 2024

Hey Marielle,
Thank you for your help, I owe you!
As you can see, I’m able to retrieve all datas when I “POST” name + comment + picture. When I do through bravo (see screenshot below)
I think, I need to “associate Name + userid + comment + picture.

Whereas I’m only able to associate Name + userid + comment but not the picture for each new comment

Tell me if you need more information.

Marielle Ibias Bravo team May 23, 2024

The data seems to be correctly selected. Can you share how the image binded please?

Soufiane May 23, 2024

I didn’t bind image for the new comment, because let’s assume I want to comment or post a text, normally I should have my own picture profile + name + comment

For example when you post something in this forum, all pepole can see your:
name → “Marielle Ibias”
Job → “Bravo Support”
Picture profile → Your photo

I have coding knowledge but I’m stuck with that lol
Thank you, I really appreciate.😉

Soufiane May 23, 2024

Just to illustrate my problem (forgive me for the bad design LOL)
As you can see I’m logged in with [email removed] account (with Soupa as name.)

For the all comments with name + comment + picture, do not pay attention because they appear when I create a new account. (I do it on purpose)

My problem is when I post an new comment (look the last one)
I only have name + email + userid + comment but not the picture.
Just to remind name is associated with email + userid (both provided by firebase)

I hope it clarifies my problem

seocontact September 13, 2024

If you are an Instagram lover, you may enjoy exploring new features that make you more comfortable. Unfortunately, Instagram can’t give you many reliable chances but its best alternative can. instander clone or unclone

Soufiane November 12, 2024

Hey everyone!!
Finally I found the solution 5 months ago, but I forgot to share it with you guys!

I tried to export my airtable database to rowy but I had some issues on the server side when I send POST/GET request to Rowy.
So I chose an other way... I coded and ran a script into airtable (premium plan required).
For doing that you must know JavaScript language, at least to have basic knowledge, otherwise it will be impossible to make it.

Airtable is not able to upload an array (in my case pictures) but is only able to upload a text when we send a POST request.

Recap, many ways are possible:
- Run a scrpit into airtable (Javascript required)
- Use an other database like xano/rowy/buildship
- Use an automation software like n8n/make/zappier

I will make a quick tuto in this thread if many people ask me.

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord