President Barack Obama advised children who want to be president to beware of Facebook.