Hi,
@Auth Page the text of the button is "Go to app" but I would like to change this text to "Login with Facebook". In the Facebook API docs I found that:
"
New button text
In the enhanced auth dialog, the button text will be one of four cases: "Add to Facebook", "Log in with Facebook", “Go to App”, or "Play Game". Each of these were extensively tested and showed that more specific calls to action help users better understand the auth process. As the first point of contact for an app, it’s important for the auth dialog to exhibit a great user experience
"
We use the app just for "Login with Facebook" function for out WebSite. We use a Taglib for generating the Facebook button to our login page:
"....
StringBuilder content = new StringBuilder();
content.append(" <form target=\"_top\" id=\"fb_signin\" name=\"fb_signin\" action=\"/social/signin/facebook\" method=\"POST\">\n");
content.append(" <a name=\"facebook-login-button\" href=\"javascript:document.fb_signin.submit()\"><s pan class=\"facebook-f-logo\">f</span>"+text+"</a>");
content.append(" <input type=\"hidden\" name=\"scope\" value=\"publish_stream,email,user_birthday,user_lo cation,publish_actions\"/>\n");
content.append(" </form>\n");
return content.toString();
...
"
fb.jpg


Reply With Quote