correct error returning

with this changes the functions will return the error of the fb api instead of "no key 'data' in j"
Merge pull request #2 from davidmann4/patch-1

Nice find!