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!
@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:
- 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.
- Tweak the code in that file replacing the URL’s, images, description, title, etc with the appropriate info for your site.
- 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
Thank you for your response! I will give it a try
Hi grid, I tried to do it but I am quite lost any chance you could make a quick tutorial or show some screens on how to proceed? Thanks!
Thanks a lot
Is there an easier way to implement this? haha
I wish there was
Consider creating a component request so that developers would consider making this custom component. Component Requests | Adalo
Great idea, I did so. Put your votes guys!
upvoted! thanks @Tommen
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.
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.
Awesome!
Thanks a lot!
Are you able to do the same for instagram?