I know i can have iframe tabs which in fact are apps. And for apps i can set icons.
But, imagine i have a app which is used by many fan pages to make it easier to integrate content.
There must be some dirty trick to set these icons based on the fan-page the app is included. For example http://blog.tabsite.com/post/376/Customize-Your-Fan-Page-Icon-with-TabSite makes exactly that.
Any idea on this ?
After a lot of research i have found the way. you have to use the old legacy javascript api with admin.createApplication to create a new application via script, then you can use old rest api (had no luck with the new one) to set the “appProperties” accordingly. like icon, iframe url and so on.