Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
I'm using the core Jomsocial Facebook connect module on foedies.com. On desktop and mobile everything works fine. I also use the mobile site in an iPhone App. Because the FB connect redirect opens in a new window it doesn't work in the iPhone App.
Is there a way to open the redirect in the same window? If yes, what code do I have to change and how?
This is not up to us. This is Facebook mechanism - initial window is open in pop up. Our windows are open in modal. We can't do anything about it...
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you
Thanks for getting back to me. What you are saying is not
really the case
. You do have a choice. In the 'base_facebook.php' (libraries Jomsocial) file it says:
/**
* Get a Login URL for use with redirects. By default, full page redirect is
* assumed. If you are using the generated URL with a window.open() call in
* JavaScript, you can pass in display=popup as part of the $params.
*
* The parameters:
* - redirect_uri: the url to go to after a successful login
* - scope: comma separated list of requested extended perms
*
* @param array $params Provide custom parameters
* @return string The URL for the login flow
*/
I also used JFBconnect before and they have the option tho choose between modal or same window. For multiple reason I'm not able to use JFBconnect at the moment and I would prefer to use the core Jomsocial FBconnection.
RedirectURI's look like: (These ones I can use in iPhone Apps)
www.facebook.com/dialog/oauth/
?client_id=196299907069518
&redirect_uri=http%3A%2F%2Fwww.foedies.com%2Fnl%2Fkookclub.html (example)
&state=YOUR_STATE_VALUE (not sure what to put here)
&scope=read_stream%2Cpublish_stream%2Coffline_access%2Cemail%2Cuser_birthday%2Cstatus_update%2Cuser_status
Is it possible to have a returnstring that would guide the user into the next step of signing up for Jomsocial and skipping the pop-up?
You would really help me out! Many thanks in advance.
Initial window was always a popup...
But ok, I assign developer to this thread.
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you