I'm writing an experimental plugin that retrieves social media stats from Twitter and Facebook and displays them in a box on the blog.
The problem I'm having is that the user must enter their Twitter ID/Facebook page URL in order for the service to work. I've created an options page for this, but when the user saves the audience, I want the plugin to immediately go off and retrieve the follower counts for each service.
All the functions are in place and working - I just need to trigger the function executing whenever the user updates the plugin options. Can anybody point me in the right direction?