danfang / me-api

An extensible, personal API with custom integrations
http://api.danielfang.org
MIT License
823 stars 42 forks source link

Instagram and Foursquare don't work with ProxyPass #10

Open joeinnes opened 9 years ago

joeinnes commented 9 years ago

Instagram can be cheated by setting the callback URI to localhost:3000 and then manually copying out the token from the response, but Foursquare don't like it. This is a problem because I run Apache as my web server and am proxy passing my api.foo.com requests to localhost:3000.

joeinnes commented 9 years ago

Looks like Foursquare is doing something weird. I was able to cheat it into giving me an access token, but I had to put the callback URI as http://http://api.foo.com