Difference between revisions of "API"
m (Cleaned it up a bit, arranged the links to be slightly more understandable at a glance)
m (demo link)
|Line 25:||Line 25:|
<span>There are <script src="http://api.mibbit.com/
<span>There are <script src="http://api.mibbit.com/.js"></script> people chatting</span>
Revision as of 21:19, 5 February 2009
How many people are using my widget?
If you run a site, and are using the widget, you might want to show elsewhere on your site how many people are using it. Well now you can do that easily.
First thing you need, is the settingsID. This is in the widget URL you are using.
For example: widget.mibbit.com/?settings=8e1a347b68236d6b49c4e3f763abf46d&channel=%23mibbit
The section in bold is your settingsID
Just replace (settingsID) with your particular ID.
Using the API
The link below outputs just the number of mibbitians using your widget. You could use this from PHP,Python,etc and get it to output in the page.
You might prefer to use this link, it’s likely that later on this one will contain more useful info as well.
There are also a couple of graphs updated at
These are all updated every 20 minutes, so should give you a reasonable idea of how many people are chatting.
Request a Feature
New API features are in the works, and this page will be updated when they are available.