I wrote a desktop application that stores FB application data and lists test users. I want to open a browser with a new profile (browser profile, not FB, because for session problems in PHP facebook API - I want to be out of my application session in my domain).
But the problem is that the facebook login URL works or is not accidental. I tried Firefox and Chrome.
Firefox with -no-remote, -p "RANDOM_PROFILE"and -CreateProfileperformed before executing to open the URL from that profile.
Chrome with --profile-directory="RANDOM_DIR"(directory created earlier).
Managing browser profiles works well in both browsers. But in most cases, opening a browser with the Facebook Test login URL simply redirects me to the main page.
In addition, I created several PHP pages:
- one redirection after a while to enter the url through window.location
- one redirection after the sleeping header ('Location: ...') for logging in.
- with a tag
<a href...>to log in.
The third option is the only one that works, but it works in about 20% of cases (sometimes repeatedly clicking on this link and opening it several times on new tabs works)
How to launch a new browser instance with a facebook login URL, where does the protocol work?
: URL- FB , .