1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

on load share popup

Discussion in 'FaceBook' started by redstone.1337, Feb 28, 2011.

  1. redstone.1337

    redstone.1337 BANNED BANNED

    Joined:
    Dec 30, 2009
    Messages:
    1,259
    Likes Received:
    999
    [​IMG]

    Can anybody help me out how i can invoke this pop on page load?
    As soon as, my website loads, this pop up should be invoked!
     
  2. redstone.1337

    redstone.1337 BANNED BANNED

    Joined:
    Dec 30, 2009
    Messages:
    1,259
    Likes Received:
    999
    :| no replies! huh
     
  3. Website

    Website Supreme Member

    Joined:
    Feb 8, 2008
    Messages:
    1,291
    Likes Received:
    286
    Location:
    whitehouse
    i don't think it can
     
  4. Grizzy

    Grizzy Senior Member

    Joined:
    Nov 11, 2008
    Messages:
    919
    Likes Received:
    1,001
    If you are not connected to an application and stream.share is executed, FB.ui uses window.open to spawn a new window (a popup), of the share dialog. Since you are trying to do this without any user interaction, it will be blocked by most major browsers.

    If the user is connected to the app (like you are with Rell), FB.ui will just create a neat little iframe that floats over your content, and that's why it doesn't get blocked by the browser.