Twitter has become one of the easiest ways to communicate and provide updates to acquaintances. which is why it is so popular these days. Most organizations are using Twitter as a news broadcasting channel. A. nice way to utilize the functionality provided by the application is to integrate it with your website. In this article. we show how you can do It. But before we start. please note the code discussed here is for integrating Twitter on a PHPBB-based forum. However. the Twitter code can also be used on other forums or websites as well.
Twitter provides you APIs to display your status on the forum. You may update it. retrieve user information. send direct messages and do other similar stuff. So first you need to understand how the Twitter API works. Here. as we shall be posting a tweet (a short message on Twitter) for the first time. we need to fully understand the user timeline API. This API lets you retrieve 20 latest posts from a single user. However. it does not let you retrieve other user's status or timeline. As Twitter is HTTP-based. you can pull or push your status through simple HTTP GET and POST methods. which makes it easier to use. Also the application uses REST (Representational State Transfer) style of architecture. which is a software architecture for hypermedia systems. It is an extension to HTTP and lets you use plain text. audio/video. graphics and hyperlinks together for creating content. So it simplifies the process of text-based communication.



Reply With Quote
Copyright Techfuels
Bookmarks