stevenheidel / encore-backend

NO LONGER USED - Encore iPhone app API server written in Rails
https://www.crunchbase.com/organization/encore-fm#/entity
1 stars 0 forks source link

Facebook App Invites #17

Closed stevenheidel closed 11 years ago

stevenheidel commented 11 years ago

Make a new API request that looks like the following: (make sure to document this in cucumber features):

POST "/api/v1/events/:event_id/invite"

which contains the following: { "facebook_id": 12345, "friend_ids": [111, 222, 333] }

and returns {"response":"success"}.

This should take the list of friends that were invited to the event and for now just send app invites to them on Facebook. See this: http://stackoverflow.com/questions/12437344/sending-app-requests-from-server-side (although keep in mind not to request the oauth token but rather to use the one saved in the database under users).

Ask me if you need a Facebook app id/key

ordinz commented 11 years ago

Doesn't look like this is possible.

See:

We are going to have to use the native interface to do the invites https://developers.facebook.com/docs/reference/dialogs/requests/