Follow Me Network Lighthouse

Tag: rapleaf

SocialMail rate limiting

by Daniel on Jul.10, 2010, under Uncategorized

Since moving to a single key for new SocialMail users, it’s become fairly clear that unless I put some controls in place the allocation of queries that I have would be used fairly early in the month meaning no “COMMUNITY” key (i.e. users without their own rapleaf key). In fact my first attempt at rate limiting to 500 queires per day, for the community not each user, mean that the daily allocation was used before 5pm.

Somethings have been changed to improve the situation, I’ve added caching to the server so if the same query is received more than once in a 45 day window the same data is returned (smaller windows are used for requests which don’t return data) to save an API call. Additionally I’ve changed the throttling to 25 queries per hour (again for the COMMUNITY key users) so that the spread is more even throughout the day.

I know this limit is low, but at this stage I don’t have any options but am presently investigating a couple of avenues. If you want more queires then the only option for the moment is to get your own RapLeaf API key and put it in the SocialMail config. When using your own key the throttling doesn’t apply.

Update: Thanks to the folks at Rapleaf, who have given us an increased limit.   So to spread this out I’ve upped the hourly limit to 50 queries, still not a lot but its better than where we were.

-Daniel

5 Comments :, , more...

SocialMail 0.4.5 free and easy

by Daniel on Jun.18, 2010, under SocialMail

Ahh, had a post ready and firefox crashed, what gives!

This is one of the most significant SocialMail releases to date, rather than new users needing to apply for their own Rapleaf API key, SocialMail now has it’s own key (Thanks to Rapleaf) with a limit of 20,000 queries per month, hopefully this is enough for now!

The great benefit of this is that once SocialMail is installed, users will be able to start seeing the social networks of their contacts, without any further fuss.

If you already have an API key that’s fine, SocialMail will continue to use it for your queries, which will help take the pressure off the shared key.

To make this work properly and protect the new key, I’ve created an API proxy which all SocialMail api queries will go through so that the new API key can be added if necessary.  Unfortunately this means that for the moment, HTTPS queries are disabled until I can afford secure hosting.

So without any further fuss, here it is:SocialMail v0.4.5 I hope you enjoy it and I look forward to your feedback.  If all goes well I’ll post to AMO later in the weekend for wider distribution.

10 Comments :, more...

SocialMail Statistics

by Daniel on May.29, 2010, under SocialMail

I’m working on a way for SocialMail to work out of the box for new users,  its a bit ugly at the moment with every new user having to get a RapLeaf API key before SocialMail starts working properly.

In order to smooth the process I’m arranging a new single API key with a higher limit and will be releasing a new version of SocialMail which proxies queries through my server.  This is the only way I can protect the new key and stop people taking advantage of it and using the majority of the queries for themselves depriving the rest of the community.

To make sure I have the numbers right, I’d like to collect some statistics from everyone and would appreciate it if you would all post the number of queries  you’ve made in the last month, from the email that rapleaf sends out .

This way I can make sure that, I have a sufficient limit to support the curent user base and some growth and if I need to put my own limits in can do so in a manner as fair as possible.

-Daniel

Leave a Comment :, more...

SocialMail: Next steps

by Daniel on May.18, 2010, under SocialMail

Development has been slow recently,  with a new job, a trip to London and moving house I haven’t had much time to work on SocialMail.

Hopefully now that things are starting to settle down I can get focussed on taking SocialMail further.  I really would like to get some community input as I don’t want to waste my time developing features that are of no interest to the users.

At the moment my thoughts are (in know particular order):

  • More Integrations with social networks, I am seriously considering the OpenSocial based sites as I can cover multiple sites with minimal additional code.
  • A user interface rework, scrapping the sidepanel and making socialmail more integrated into the Thunderbird interface.  For example, moving the profile picture into the header bar of the preview pane.
  • Changing the API model so that new users don’t need to acquire their own rapleaf api key (discussed below)

The last one is likely to be the most contreversial but I think will have the greatest impact in terms of enabling new users to use SocialMail.  At present I have between 10-20 downloads per day, not to shabby, however this isn’t translating into new users well, as I am only seeing slight growth week on week.  I am of the belief that part of the reason is that users can’t be bothered with getting their own RapLeaf key, which takes a day or two depending on how busy they are.

What I’d like to do is pre-provision SocialMail with the ability to work out of the box, no need to register to get at least a few api calls a day.   At present I am talking to RapLeaf to work out exactly how this can be acheived and hope to come up with a workable solution and hope to come up with something in a few days.

Outside of those ideas, are there any suggestions on what people would like to see from SocialMail, just keep in mind, if it’s a request to integrate with another socialnetwork/site then an existing public API is a must,  I aim to keep clear of private APIs and will not write code for scraping content directly from sites.

-Daniel

6 Comments :, , more...

SocialMail 0.0.6 Out Now

by Daniel on Dec.22, 2009, under SocialMail

It’s been a busy few days coding, always trying to move SocialMail forward, while at the same time trying to get Rapleaf 4 Thunderbird through the AMO approvals process.

In the last few days I’ve had a chance to add to features that were requested by users, and as they were both on the roadmap I’m jumping right over 0.0.5 to 0.0.6.

Here’s what’s new:

  • Gravatar support, including fallback modes of Identicon, wAvatar & MonsterID
  • Improved handling if a profile image is unavailable
  • Option to not retreive a profile image
  • Not setting a Rapleaf API key or turning off the Social Networking display now prevents calling the rapleaf service entirely.

Get it here: socialMail-0.06 , if you need help installing please look at the installation instructions.

Important Note: If you are upgrading from 0.0.4, there is no need to delete the database file as there have been no schema changes.

As always your feedback/comments are most welcome.

Leave a Comment :, , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...