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).
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