Im making a website where users create profiles. I want users to be able to embed their twitter feeds on their profile page for others to see.
Im using a CMS but I want the posts to be pulled on the front end. I dont want the posts to be content thats imported into the CMS. I also need it to be easy for users to set up their feeds, ideally by just entering their usernames into the CMS.
With facebook its easy to achieve this with the likebox (users can embed pages not personal profiles). The likebox uses the code below, and my CMS swaps out FACEBOOK-NAME for the user’s page’s facebook name.
However I havnt been able to do the same thing with twitter. Here USERNAME is only used to create the link back to twitter. Im assuming the number 400306334253318144 is the user’s ID of some sort, but you also have to enable the widget within twitter.com.
Is there any solution that will allow users to embed their twitter feed by just providing their username or twitter url?
If they do need to enable the widget in twitter.com then thats not the end of the world. But is there a simpler way of then embedding a feed? I dont want to allow
tags for user provided content in my CMS for security reasons.