AssafT
AssafT

Reputation: 97

How facebook/twitter share buttons avoid being blocked by popup blockers?

When a user which is not logged in to Facebook or Twitter, clicks the like/tweet button, a popup comes up asking the user to log in. This popup is not blocked by popup blockers of any kind. in IE for example, it opens up but anyway IE state a warning to the user. The bottom line is that all buttons probably use the same method. I have a button that people click on it and it should open a similar screen, but it always gets blocked. The button (in JS) works pretty much like FB like button. It checks if the user is logged in. If he does, then send the "like" to the servers. If he does not, then the login popup appears (and gets blocked). So, it is a initiated by a user although not fully direct outcome, since we need to check if he logged in or not. What is best method to do that?

Upvotes: 3

Views: 2192

Answers (1)

Nitesh Yadav
Nitesh Yadav

Reputation: 49

The Popup Is activated by a click using the like, tweet button and they actually show only 1 popup. If you want, you can try by using only a single popup based on click for your website and you will definitely be able to understand this.

Upvotes: 2

Related Questions