Here is a thread for locating the keyless entry code on 07 and up Expys. This particular one shows a 2010 model so it should be the same as yours. You do have to unbolt the SJB slightly to see the sticker with the code on it.
https://www.ford-trucks.com/forums/8...ml#post9385407
As for the Homelink, when I did mine it took the first time but I have seen posts where some garage door openers aren't compatible. Sorry.
Matt