I suppose you can use gadgets.io.makeRequest (from OpenSocial API) to send a request back to your server to retrieve the info you need on the profile view. If your profile view is written in javascript, you could use something like:
var params = {};
params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT;
var url = "http://www.myserver.com/myhandler.php";
gadgets.io.makeRequest(url, response, params);
function response(data) {
// do something with the received data...
}
You may want to check the OpenSocial reference for options regarding signed requests and different content types.