Category Archives: PHP

not_authorized Facebook problem

not_authorized problem Today I have huge problem with facebook connect. I’ve recieved┬ánot_authorized status when I tried to login to my website as facebook user. But first thing first. I have tried to use FB connect on my websites, and everything works fine for me. Usually I’m using Firefox for daily work. So I’ve created app […]

cURL CURLOPT_FOLLOWLOCATION issue with safe_mode/open_basedir

Today I’ve encountered problem with the CURLOPT_FOLLOWLOCATION. I tried to get user profile picture from facebook with cURL. Unfortunately, on production server we have set open_basedir and follow location is not working;/ So I found some workaround of this issue. I created function that provides similar functionality for CURLOPT_FOLLOWLOCATION option. It’s working when you are […]