Twitter Support
Created: Last updated:
Support for Twitter and other social media is a must, of course. Not surprising, adding Twitter buttons in an easy way has been on my list since almost the beginning. You might say it was long overdue for my framework and this website.
Twitter buttons
Now I have finally been able to add support for Twitter buttons to the framework in form of widgets collecting data from the Contact module. It's still a long way to go to get all the other features into the widget but it is looking good so far. Right now, the support is only for the buttons like Tweet and Follow. Adding twitter listings is not exceptionally high on the list but will be available at some time.
Tweet
The tweet button allows a user to immediately tweet about a special page. Twitter through their API and JavaScript picks the provided address, title and my Twitter handle and adds everything into a new tweet box.
Tweet data
The default text is usually the head title which is replaced with only the document title to save space for other text.
The link is currently the original link but it spearheaded the development for a framework internal short URL model. In the near future I will have a routing system that understands short URL strings and resolves the long name resulting in a redirect to the appropriate page or an error message if the page has been removed.
The count argument is currently disable but already an option which can enabled/disabled.
The button itself is the default button and support for replacing it with a dedicated image will be added at a later time.
Follow
The follow button allows a user to follow the defined account, i.e. the owner of the website and the case of this website, me @AdrianWorld. The button and all settings are currently simple defaults. Support for additional features will be added later.