Facebook Graph API using ASP.NET with fancybox -
anyone know of trick can use facebook authenticate user within fancybox iframe? ... when use following code facebook dosent present user login box, rather gives them link facebook puts user in parent window
<a id="afblogin" href="https://graph.facebook.com/oauth/authorize?client_id=xxx&redirect_uri=http://ahost.com/callback.aspx&scope=email" type="text/html"><img style="border-style: none" src="/images/fbooklogin.png" alt="facebook login button" title="login facebook" id="btnfblogin" height="36" width="67" /></a>
then javascript add click event handler ... pop works .. facebook seems not being in fancybox-iframe
facebook has various measures (using css , javascript) in place ensure never hosted in iframe. i'm afraid limited using popup implementation provided javascript sdk.
Comments
Post a Comment