criso / fbgraph

NodeJs module to access the facebook graph api
http://criso.github.io/fbgraph/
1.09k stars 176 forks source link

handle https for oauth dialog url #96

Closed camwes closed 6 years ago

camwes commented 8 years ago

My app uses https and I am getting a problematic 302 since the graph url is not https. Shouldn't it just default to https? If not we should make the protocol dynamic

criso commented 8 years ago

Yeah, good point. It should just default to https

thiagorossener commented 7 years ago

Im getting the same issue with the message 'Error processing https request'

ffflabs commented 6 years ago

Endpoints are https by default since commit 5f499be793a0e6cc013d727d2b776fbada30a149

https://github.com/criso/fbgraph/blob/5f499be793a0e6cc013d727d2b776fbada30a149/lib/graph.js#L34-L37