first implementation of facebook graph api, get messages and parse structuer to message class