microB 0.2b

B is for blogging.

MicroBlogging integration without any curl calls on the server side or any blocking json request in the middle of the page. Currently supported : all Twitter and StatusNet compatible services, that includes Twitter itself and identi.ca.

Note for Mootools' forge user : The download link is now working fine.



Details

Author
Kevin Chapelier
Current version
0.2b
GitHub
DEEO/microB
Downloads
6005
Category
Widgets
Tags
Report
GitHub Issues

Releases


Dependencies

  • more/1.2.4.2:
    • Lang
    • Request.JSONP

How to use

Simplest use case, we just get the last statuses from a given user with the default options :

new microB('element_id', {
    user: 'Mootools'
}).load();

Very well, now let's say we want some more optimisation, for example show the profile and the statistics of the user while neither showing permalinks nor linking @usernames :

new microB('element_id', {
    user: 'Mootools',
    count: 10,
    showProfile: true,
    showStatistics: true,
    showUserlink: false,
    showPermalink: false,
}).load();

Using identi.ca:

new microB('element_id', {
    user: 'welcomebot',
    service: 'identica'
}).load();

Using a new StatusNet service:

microB.addService(
    'newService', //service id
    'twitter', //type/compatiblity
    'http://service.url/api/statuses/user_timeline/{user_id}.json?count={count}', //json url
    'http://service.url/{user}', // user url
    'http://service.url/tag/{hash}', //hashtag url
    'http://service.url/notice/{id}' //status url
);

new microB('element_id', {
    user: 'username',
    service: 'newService'
}).load();

Using twubs.com for hashtags' url in Twitter:

microB.services.twitter.hashUrl = 'http://twubs.com/{hash}';

History

  • 2010-02-17: 0.2b : security fix
  • 2009-12-15: 0.2 : first public release

1.0 coming soon with lot of new features and fixes.


Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus