Facebook OAuth response with the HTML file instead of JSON


#1

Hi,
I try to follow the wiki tutorial for implementing Facebook OAuth. I have setup the FB apps, and I also setup Dreamfactory service accordingly. My Dreamfactory service name is facebook_contractor, so my redirect URL is https://df.mysite.com?service=facebook_contractor . I use this same redirect URL in facebook and dream factory setting (Correct me if I’m wrong).

What strange though is when I call this URL:

https://df.mysite.com/api/v2/user/session?service=facebook_contractor

I got HTML Facebook login page instead of JSON like in the tutorial. Is there any step that I miss?

Thanks