I have to create a fb application, I never did one before but I thought the best thing to do would be to design it as similar to facebook as possible so it would integrate well. I already have this code for messages and notifications:
var dialog = FB.Dialog.create({
content: '<div style="color: rgb(255, 255, 255); background-color: rgb(109, 132, 180); font-size: 15px; font-weight: bold; padding: 5px; text-align: left;">Error</div><p style="margin:10px 15px;">Message</p><div style="color: rgb(0, 0, 0); background-color: rgb(242, 242, 242); padding: 8px; text-align: right; border-top: 1px solid rgb(198, 198, 198);height:23px;"></div>',
closeIcon: true,
onClose: function() {
FB.Dialog.remove(dialog);
},
visible: true
});
I will have to create things like a friends list, and i was thinking. Should I just copy the style of facebook or is there any library to get that kind of styles? Or if not, what are the files I should be looking at on fb to copy the styles?