updated example to match api changes

update as suggested in https://github.com/criso/fbgraph/issues/51
Merge pull request #52 from davidgruebl/patch-1

updated example to match api changes