fb and nytimes connection code.