Executives from Facebook Inc and Twitter Inc faced threats of legislative action from skeptical U.S. lawmakers on Wednesday over what many members of Congress see as a failure to combat foreign efforts to influence U.S. politics.