I figured out the problem. It was in permissions. You have to allow unauthenticated users access to discussions, timeline posts, groups, people etc...