-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Social Media Sharing for Verse Sharing #55
Comments
I'd like to get this |
Hey @muriloapparecido, I just wanted to let you know that I made a menu for you, so you do not need to make one. All your issue does contain is adding the share feature with a sub menu within that button for the diff social channels when someone hovers on the |
@muriloapparecido any update regarding this issue? Due to inactivity, you may be removed from this issue if no updates are reported in the next week. |
I've successfully created the TypeScript function to generate shareable links using encodeURIComponent(). Currently, I'm working on integrating this functionality with the share button. I apologize for not communicating effectively but I'll have it done within the next couple of days. |
@muriloapparecido thanks so much for the update! Make sure to run |
Hey Justin, I’ve completed all the main functionality for the issue a few days ago, but I’m running into an issue while trying to test and view the results before committing. When I run the frontend server and input a theme, it fails to fetch the data. I've checked the backend server (which is running simultaneously without an issue), I've added the necessary Firebase configurations, and I’ve set the backend URL (https://localhost:5000) in my .env.local file. Despite these steps, the verses associated with the theme are not displaying on the frontend, preventing me from testing the functionality of the share button. I’d appreciate any guidance on what I might be missing or additional troubleshooting steps. Thank you for your time, and Merry Christmas! |
@muriloapparecido sorry for the delay |
When you say run simultaneously, the backend does take a long time to load. When you install all requirements on the backend, and run TLDR: after running the backend, wait 5 mins, then run the front end and test |
I finally got it to work. The link to share a verse on twitter and pinterest is working, I just need to fix the links for sharing on Threads and Instagram Stories and to fix the styling for the button and I'll be done. I'll hopefully be done with it by tomorrow, if not then definitely by the end of the week. |
Threads does not support direct content sharing via URL links like Twitter. As of now, there's no public API to share content directly to a user's Threads feed from external websites. Therefore, my current implementation redirects users to the Threads web version where they can manually share the content. Instagram also has strict limitations on direct sharing from websites. Instagram primarily supports sharing through its mobile app, and the ability to post content directly to an Instagram feed requires complex API integrations like the Instagram Graph API. Additionally, Instagram's web sharing capabilities are very limited, and third-party sharing of text content is restricted. Currently, my implementation opens the web version of Instagram for users to manually post the scripture text. These limitations are inherent to the platforms and cannot be bypassed without their official APIs or mobile-specific features. Please let me know if you'd like me to adjust the implementation or if this approach is fine! |
Hey Justin, sorry for the spam. I've finished implementing the share buttons, including for X, Pinterest, Threads and Instagram. I'm currently waiting on your thoughts about the functionality for Instagram and Threads, as those have some restrictions for direct sharing. I've included a screenshot of the final design below for your reference. Please let me know if anything needs tweaking before I submit it. |
Thanks @muriloapparecido. UX looks great! ####Few questions:
To answer your IG/threads question: Describe to me the restrictions you are finding for Threads? I am going to guess you are talking about format for IG…..If so you can remove sending to IG. |
Wait just saw you had other messages regarding threads give me a second |
Okay, yes your current implementations are a great alternative!!!!! The only thing I would as is copy to clipboard as well so a user can just paste it when they make that post. And just add at the end “~ Made with Versify” |
Yes, I've removed the word share from the button and the sub-menu appears when the share button is clicked, not when hovered on. Just to confirm, you'd like me to implement functionality that copies the verse to the clipboard when the user attempts to share on Instagram and Threads, right? |
Sorry for the late reply, but yes @muriloapparecido |
Overview
We need to add social media sharing functionality to our scripture output feature. This will allow users to share scriptures on X (Twitter), Meta Threads, and Pinterest. We'll also reorganize our existing UI to accommodate these new sharing options.
Tasks
1. Implement Sharing Functionality
encodeURIComponent()
2. UI Updates
Additional Considerations
The text was updated successfully, but these errors were encountered: