Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SEO Metadata

Find answers to common questions regarding Gigya 's technology.

 

Find answers to common questions regarding Gigya's technology.

...

Expand
titleHow do I force logout from Facebook?

Make sure you load the gigya.js with your API key as part of the <head> section of your site's pages:

Code Block
languagejs
linenumberstrue
<SCRIPT type="text/javascript" lang="javascript"
    src="http://cdn.gigya.com/JSjs/gigya.js?apikey=INSERT-YOUR-APIKEY-HERE">
</SCRIPT>

Next, make sure you configured a Domain Alias (CNAME) for your site and enabled automatic session renewal in your site's Settings. Then when you call our client-side socialize.logout API method, Gigya will logout the user from all the providers to which he is connected, including Facebook.

...

Expand
titleHow come it doesn't work when I use HTTPS?

If you choose to communicate with the Gigya service over a secure connection, you will need to include the Socialize JS file from our https domain: 

Every page that uses the Gigya API must include Gigya's Java-script library in the section. On secured pages, the line of code should be:

Code Block
languagejs
linenumberstrue
<script type="text/javascript" src="https://cdns.gigya.com/JSjs/gigya.js?apikey=INSERT-YOUR-APIKEY-HERE" ></script>

...