ColdFusion , Twitter , CFTwitterLib
In this version were added following the methods groups:
One more use example of the library ColdFusion for access to Twitter, this application will not be continued, it is a mere example. It got so good that I solved increase layout.
Twitter makes announcement on the project retweet, which is still on paper.
ColdFusion , Twitter , CFTwitterLib
The Project ColdFusion Twitter Lib - cftwitterlib, it is available also in the Projects great list Open Source kept by Brian Rinaldi.
Thanks, Brain, by the mention.
ColdFusion , Twitter , CFTwitterLib
With this method you can retrieve messages from a Twitter user.
public string getUserTimeline(struct options, [string format])
options = Data structure containing the options you want, at least the id or screen_name or user_id should be passed.
options.id = identifier of the user in Twitter (different from login)
options.user_id = identifier of the user in Twitter (different from login)
options.screen_name = name (login) of user in Twitter
options.since_id = identifier of the user in Twitter (different from login)
options.page = number of current page
options.count = number of messages per page
format (opcional, json is default) = xml, json, rss, atom
ColdFusion , Twitter , CFTwitterLib
With this method you can add friends of Twitter for one account Twitter.
public string follow(string id, [string format])
id = identifier of the user in Twitter (different from login)
format (optional, json is default) = xml, json
ColdFusion , Twitter , CFTwitterLib
Very well, BlogCFC integrated with Twitter.
Now the posts of BlogCFC send messages through Twitter, this is done on the page that adds entries in BlogCFC.
With CFTwitterLib the BlogCFC can interact more with Twitter, but, I just leave it (sending post to Twitter).
Is used to share with you how I did it.
Before starting you should decide how you will inform your credential on your blog.ini.cfm, I chose to generate the credential separately with toBase64, catching the result and putting in the ini file, as follows:
ColdFusion , Twitter , CFTwitterLib
The library to ColdFusion access the Twitter,cftwitterlib, is now in version 3, with all bugs fixed (I hope so).
The project was added to RiaForge http://cftwitterlib.riaforge.org/.