-
Notifications
You must be signed in to change notification settings - Fork 30
Meetup
Damien edited this page Jun 5, 2016
·
1 revision
// Client-side (implicit) flow
let meetup: Provider = .Meetup(
clientID: "***",
redirectURL: "foo://callback"
)
// Server-side (explicit) flow
let meetup: Provider = .Meetup(
clientID: "***",
clientSecret: "***"
redirectURL: "foo://callback"
)
// Client-side (Implicit) flow
http://your-redirect-uri#access_token=ACCESS-TOKEN
// Server-side (Explicit) flow
{
"access_token":"ACCESS_TOKEN_TO_STORE",
"token_type":"bearer",
"expires_in":3600,
"refresh_token":"TOKEN_USED_TO_REFRESH_AUTHORIZATION"
}
scope | permission |
---|---|
ageless | Replaces the one hour expiry time from oauth2 tokens with a limit of up to two weeks |
basic | Access to basic Meetup group info and creating and editing Events and RSVP's, posting photos in version 2 API's and below |
event_management | Allows the authorized application to create and make modifications to events in your Meetup groups on your behalf |
group_edit | Allows the authorized application to edit the settings of groups you organize on your behalf |
group_content_edit | Allows the authorized application to create, modify and delete group content on your behalf |
group_join | Allows the authorized application to join new Meetup groups on your behalf |
messaging | Enables Member to Member messaging (this is now deprecated) |
profile_edit | Allows the authorized application to edit your profile information on your behalf |
reporting | Allows the authorized application to block and unblock other members and submit abuse reports on your behalf |
rsvp | Allows the authorized application to RSVP you to events on your behalf |
// Client-side (implicit) flow
https://secure.meetup.com/oauth2/authorize
?client_id=YOUR_CONSUMER_KEY
&response_type=token
&redirect_uri=YOUR_CONSUMER_REDIRECT_URI
// Server-side (explicit) flow
https://secure.meetup.com/oauth2/authorize
?client_id=YOUR_CONSUMER_KEY
&response_type=code
&redirect_uri=YOUR_CONSUMER_REDIRECT_URI
https://secure.meetup.com/oauth2/access?
client_id=YOUR_CONSUMER_KEY
&client_secret=YOUR_CONSUMER_SECRET
&grant_type=authorization_code
&redirect_uri=SAME_REDIRECT_URI_USED_FOR_PREVIOUS_STEP
&code=CODE_YOU_RECEIVED_FROM_THE_AUTHORIZATION_RESPONSE