Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
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.

Facebook connect same window

10 years 8 months ago
  • Sander's Avatar
    Topic Author
  • Sander
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Active

Hi,

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?

Many thanks for your answer!

10 years 8 months ago
Licenses:

Hi, Sander.

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
10 years 8 months ago
  • Sander's Avatar
    Topic Author
  • Sander
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Active

Hi Michal,

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.

Grtz,

Sander

10 years 8 months ago
Licenses:

Hi, Sander.

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
10 years 8 months ago
  • Sander's Avatar
    Topic Author
  • Sander
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Active

Hi Michal,

Super, thanks in advance! Hope hearing from you soon!

Regards,

Sander

10 years 8 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

hi Sander,

I asked to our Javascript master, we dont recommened you do this, because jomsocial is not designed like that, you still need use popup instead.

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW