Re: [meetup-api] meetup rsvp button iPhone

44 views
Skip to first unread message

Doug Tangren

unread,
Nov 6, 2012, 9:20:45 AM11/6/12
to meetu...@googlegroups.com
On Mon, Nov 5, 2012 at 11:28 PM, AndroidUser <kcl.it.d...@gmail.com> wrote:
Hi all,
I'm trying implement the meetup rsvp button on a website, everything is working fine on web browser and android. Only got an "invalid autorization request on a iphone.

Do someone know how I can fix this issue? or is this a bug of the rsvp button js.

Thanks for your time.


At what step in the process do you see this error (when authorizing, when it issues a request, ect)? The script uses an html5 featured called postMessage to communicate with an iframe that should be supported by recent versions of iphone's browser - http://caniuse.com/x-doc-messaging I can't think of anything that would be browser specific.

Doug Tangren

unread,
Nov 7, 2012, 9:28:07 AM11/7/12
to meetu...@googlegroups.com


On Wed, Nov 7, 2012 at 4:21 AM, David Wieland <davidw...@gmail.com> wrote:
We're implementing the button for a client and currently experiencing the same issue as posted by AndroidUser. We tested the button here: http://it-spired.com/ Please see for yourself. 

Works fine everywhere and even on iPad, but on iPhone (iOS6) I get the same authorization issue.

Looking forward to your thoughts.


The RSVP button uses oauth2 authentication for the client. Part of that client authentication uses the redirect_uri as part of the client authentication. It looks like you are hosting the page on http://it-spired.com/ but your redirect_uri is http://www.it-spired.com. These uris must match in order for the request to authenticate your oauth consumer. Try removing the "www." from your registered redirect_uri under http://www.meetup.com/meetup_api/oauth_consumers/ and you should be good to go. 

 
--
 
You received this message because you are subscribed to the Google
Groups "Meetup API" group.
To unsubscribe from this group, send email to
meetup-api+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/meetup-api?hl=en?hl=en

Doug Tangren

unread,
Nov 7, 2012, 10:29:30 AM11/7/12
to meetu...@googlegroups.com
On Mon, Nov 5, 2012 at 11:28 PM, AndroidUser <kcl.it.d...@gmail.com> wrote:
Hi all,
I'm trying implement the meetup rsvp button on a website, everything is working fine on web browser and android. Only got an "invalid autorization request on a iphone.

Do someone know how I can fix this issue? or is this a bug of the rsvp button js.


I tried a test on iphone and it seemed to work. Can you post me a link to your site with the RSVP button so I can test? I was able to find the solution to David's problem pretty quick that way.
 

David Wieland

unread,
Nov 7, 2012, 8:44:03 PM11/7/12
to meetu...@googlegroups.com
Hi Doug, thanks for your input. I'll go check with our team. Thing that irks me though is how come it works OK on all devices except iPhone, if there is a syntax error in the authentication? 

Doug Tangren

unread,
Nov 8, 2012, 9:21:28 AM11/8/12
to meetu...@googlegroups.com
On Wed, Nov 7, 2012 at 8:44 PM, David Wieland <davidw...@gmail.com> wrote:
Hi Doug, thanks for your input. I'll go check with our team. Thing that irks me though is how come it works OK on all devices except iPhone, if there is a syntax error in the authentication? 


When it comes to the authorization, we do our best to protect our members from malicious users of the API. We can not know that http://foo.com is the same hosted application as http://sub.foo.com. We do not want to pass on member authorization to unknown sources.
Reply all
Reply to author
Forward
0 new messages