How to add Mavericks Message into trusted devices in Facebook?
yes, you can generate an application specific password in security settings and type that in instead of your password. This is will ensure it works without pinging you again and again for the code.