Back at the end of May we launched the brand new Follow Button. Yesterday we pushed out a small update to improve the user experience and make implementing the button a little easier for developers and designers.
The standard button looks exactly the same and accepts all the same arguments, but the following state has changed.Previously the button for an account the user is already following (or just followed) would render as a little green tick, like this:
We found that in the wild—and from your developer feedback—that the change in appearance and width between the ‘Follow’ and ‘Following’ UI made some integrations impossible, such as when nesting the button into sidebars, or alongside other buttons. As a result, we’ve tweaked the design to be consistent regardless of the viewer’s relationship with the user, making integrating the button into any kind of layout even easier.
This also means that if you use the advanced parameters to toggle the display of usernames or follower counts, those settings are now consistently respected in both states (previously, a username was always displayed next to a user you are following.)
Please check out the documentation, let us know your feedback over in the Twitter for Websites developer forum, and also see the documentation for Web Intent Events to learn about how you can hook your application into Tweet Button and Follow Button interactions.
Did someone say … cookies?