fpctwit is an OAuthv1, Twitter and Plurk library with example programs (console and GUI). NOTE: In the default configuration, you WILL need the openssl libraries, e.g. sselay32.dll and libeay32.dll, and presumably zlib1.dll. It is written for FreePascal but meant to be usable in Delphi as well. It currently uses the Synapse network library (included) but can be adapted for other network libraries. Twitter is a major user of the OAuthv1 authentication protocol, but there are others. The Twitter library's functionality includes: getting tweets using the Search API, tweeting, getting username info, authenticating using PIN/OOB or preset credentials (consumerkey+secret,authtoken+secret). It supports OAuthv1 secure authentication and TLS encryption. The library uses modified FPC fpJSON units to allow getting UTF8 data out of the JSON data with Tweets returned from Twitter. For newer FPC versions, it will use the native fpJSON units as those support UTF8. The fpctwit console demo program and fpctwitgui GUI demo programs demonstrate the functionality of the Twitter and OAuthv1 libraries. The fpctwit console demo also uses the Twitter library's Streaming API support to process and show Tweets and deletion messages. The fpcplurktest console demo demonstrates use of the Plurk library (plurklib.pp). The applications and libraries are distributed under a very liberal license (my code under MIT license; see Synapse and fpjson units for their licenses) which allows commercial use as well as interoperability with GPL programs. Patches are welcome! Enjoy, Reinier Olislagers, Mario Ray Mahardhika and Ludo Brands
5589ff9 - updated synapse library (cosmetic changes only)
71195f1 - Merge Mario's plurk changes and my readme change
6bb87f9 - Cosmetic: updated readme to fit on bitbucket overview page
dd5191b - - Update Plurk API status.txt
6cb7457 - - Implement TPlurkLib.PlurkDelete (/APP/Timeline/plurkDelete)
56d4a56 - - Rename TPlurk to TPlurkLib
5025651 - - Implement error text in case of connection failed
47e66fa - - Add About to TPlurkProfile
2081525 - Implement TPlurk.UsersCurrUser (/APP/Users/currUser)
5fefec8 - Move utc time implementation to correct place (network provider levels) as an example of other providers: they can use the 2.6.2+ implementation
Get fpcplurktest.exe (416.0 KB).
aeda0b5 - Synapse: upgrade to trunk r181. Use built in json, UTC time functions for FPC 2.6.2+ Hardened twitter connect code a bit. Twitter code seems nonfunctional ...