Making requests on user's behalf

79 views
Skip to first unread message

Otto

unread,
May 3, 2014, 8:41:25 AM5/3/14
to httpar...@googlegroups.com
Hi, I guess this is the best forum to ask.

I'm trying to do this request on behalf of my users to check if they are logged in to wikipedia. If they are, they are going to be logged in to my app.
Here is the api-request to wikipedia to check:

@response = HTTParty.get('http://en.wikipedia.org/w/api.php?action=query&meta=userinfo&uiprop=rights&format=json&callback=?')

But this request is done on behalf of my server. Is there a way to check if the user is logged in, and not me (the server)?

Thanks
Reply all
Reply to author
Forward
0 new messages