ios - Getting only those Facebook events which haven't expired graph api -
i trying facebook events haven't expired yet(upcoming events).
when use following query events including have expired long ago.
fbrequestconnection startwithgraphpath:@"/me/events" parameters:nil httpmethod:@"get"
you can make use of since
parameter described in
- https://developers.facebook.com/docs/graph-api/reference/v2.2/user/events/#read
- https://developers.facebook.com/docs/graph-api/using-graph-api#paging
if set timestamp current time, should see future events:
/me/events?since=1417508443
Comments
Post a Comment