namespacecomm / namespace-community-website

Official website of The nameSpace Community. Note: Production is deployed from a private repository not this one. But can be viewed using the official link below
https://www.namespacecomm.in/
MIT License
45 stars 92 forks source link

[Feature]: Improving the social media pulse section on home page #584

Open pradeeptosarkar opened 1 day ago

pradeeptosarkar commented 1 day ago

Is your feature request related to a problem? Please describe.

image

Describe the solution you'd like

The social media pulse section on the home page currently includes only youtube videos. We require our latest tweets, insta posts and LinkedIn posts to also show up in this section.

Please describe your potential solution along with your assignment request. Any creative ideas to this particular section are most welcome.

Describe alternatives you've considered

No response

Additional context

No response

theDevSoham commented 1 day ago

Hi @pradeeptosarkar ,

I would like to contribute to this issue. I've checked the code of SocialMedia component and the following is my conclusion:

  1. Youtube video embed links are hard coded into the app. In a similar way, linkedin post, tweets and instagram posts can be embedded using the embed url.
  2. However, it can be simplified. We can store each post/video id in a list dedicated for each social media embed url, store the static part of the url in the codebase and concurrently join the ids with their respective social media url and render them.
  3. For the above to happen either you need to provide me with the linkedin, instagram and twitter post embed code list and I can start integration or I can integrate the barebones of this concept first.
  4. Lastly, if you want a more advanced and more automated approach, an automated webdriver can be used to scrape the required embed urls from the account so you don't have to manually do that, though it can violate community rules for social media.

P.S : The last one is just an idea and may not be required. You can create a dedicated CMS for the same, update it with embed urls anytime a post is done and it'll reflect on the dynamic site. Headless cms solutions like Strapi best solve these kinds of problems.

pradeeptosarkar commented 1 day ago

Great @theDevSoham you can work on this one mate till point no. 3. Let me know what you would need. Cheers

theDevSoham commented 1 day ago

Thanks @pradeeptosarkar . I would ask for embed urls once I'm finished with this implementation.

pradeeptosarkar commented 1 day ago

Great

theDevSoham commented 11 minutes ago

@pradeeptosarkar I'm done with the implementation, can I please get the linkedin, instagram and twitter post embed urls? I would integrate that in the website now.