updated example to match api changes

update as suggested in https://github.com/criso/fbgraph/issues/51