on load share popup

redstone.1337

BANNED
Joined
Dec 30, 2009
Messages
1,258
Reaction score
1,000
http://fbrell.com/fb.ui/stream.share

22ki0j.png


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!
 
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.
 
Back
Top