Can you share post on social media (Facebook, Instagram...)?

Hello everyone,
Do you please know if there is a way how to create a button with the option to share post from Adalo on user’s social media such as Facebook, Instagram or Twitter? Thank you!

3 Likes

@Tommen I was able to get this to work using this documentation. This is what it looks like:

Here are the steps to make it work:

  1. Copy the Full Code Example. Put it in a .html file and put it somewhere where it can be served publicly. I just put it a subdirectory on my WordPress site but you could put it on S3 or anywhere that is publicly accessible.
  2. Tweak the code in that file replacing the URL’s, images, description, title, etc with the appropriate info for your site.
  3. Use a webview widget to embed it where you want it on your Adalo app and make sure to use https to reference it or else it won’t show.

Hopefully with the new component marketplace someone will make a widget to simplify this and other social sharing widget generation but for now this is what I did to make it work. cheers

1 Like

Thank you for your response! I will give it a try :slight_smile:

Hi grid, I tried to do it but I am quite lost :worried: any chance you could make a quick tutorial or show some screens on how to proceed? Thanks!

@Tommen here ya go: https://grid7.com/2020/07/facebook-share-widget-adalo-app/

7 Likes

Thanks a lot :relaxed:

Is there an easier way to implement this? haha

I wish there was :smiley: :frowning:

Consider creating a component request so that developers would consider making this custom component. https://ideas.adalo.com/component-requests

2 Likes

Great idea, I did so. Put your votes guys! :smiley:

https://ideas.adalo.com/component-requests/p/social-media-share-button-option

2 Likes

upvoted! thanks @Tommen

1 Like

Hi grid,

Thanks for the tute.

Can this be used to post a dynamically generated link (Magic Text)? Can this be done by generating a link from Adalo to the publicly visible page containing the Facebook code? Will Facebook let this happen?

Thanks!

Yea it should be doable. You’d have to change the file I posted from .html → .php, parameterize the variables and then send the dynamic inputs from Adalo via custom action or as query params in a webview. This would be a good candidate for someone to make a marketplace component that handles this.

1 Like

Another stupid question: can such a post go to the user’s FB wall? Or only to ours?

Thank you!

Yes this script is to make a one-click option for the user to post the link to their FB timeline.

1 Like

Awesome!

Thanks a lot!

Are you able to do the same for instagram?