I have created a hotspot with the RB 750. In the login page, I have put a picture with a button in the bottom and when someone presses that button the idea is to redirect him to Facebook and then get access to the internet. But when I press the button it doesn't redirect me to facebook. Can anyone help to solve this problem
You should use a javascript redirect for the button of you page.
like:
window.location.replace("http://stackoverflow.com");
Related
When I visit this page (Facebook Like Button official page) in my Facebook browser, the like button is working very gracefully.
It works this way:
1 - Click the "like"
2 - There will be a sparkle animation showing
3 - Then the like action is done
However, when I put the same code in a page of mine, still in Facebook internal browser, after clicking the like button, there's no animation and I am redirected to a new page, in which I'm asked to confirm the like action.
Here is the screenshot of the new confirm box
Is there a way to let the user like my page directly without this "Do you want to like this page" confirm box? I want this feature because people are taking actions on my page and if they are directed to another page, the status of that page is gone.
Thanks for any kind of tips!
Today i when i clicked facebook login in my webpage,
the dialog popup as usual, however after i clicked ok, the popup stuck at a blank page with url
https://www.facebook.com/dialog/oauth?app_id={appid}&client_id={client id}&display=popup&domain={domain}&e2e=%7B%7D&locale=en_US&origin=1&redirect_uri=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D29%23cb%3Df2356881fe8e6bc%26domain%3D{domain}%26origin%3Dhttp%253A%252F%252F{domain}%252Ff1d6980bbb127d2%26relation%3Dopener%26frame%3Df17ee4a3b5fd2e8&response_type=token%2Csigned_request&scope=email%2Cpublish_stream&sdk=joey
And it didnt auto close and redirect to my webpage.
At this blank page popup, view source and see some js:
var message = "cb=f1a6be948fefda&domain={domain}&origin=http\u00253A\u00252F\u00252Fjebsenwine.dev.cleargo.com\u00252Ffe2018a8b499c4&relation=opener&frame=f7e1c0c9232fd2&access_token={access token}&base_domain=", origin = "http://{domain}", domain = "{domain}"; document.domain='facebook.com';(function(){var a=window.opener||window.parent,b='fb_xdm_frame_'+location.protocol.replace(':','');function c(){try{a.frames[b].proxyMessage(message,origin);}catch(e){setTimeout(c,100);}}function d(){_fbNative.postMessage(message,origin);}if(window==top&&/FBAN/\w+;/i.test(navigator.userAgent)){if(window._fbNative&&__fbNative.postMessage){d();}else window.addEventListener('fbNativeReady',d);}else c();})();
Anyone face the same problem?
There are some bugs with an update or something. The Javascript SDK isnt functioning very well. - https://developers.facebook.com/x/bugs/482108261888889/
I use below method to Authenticate..
https://www.facebook.com/dialog/oauth?client_id=&redirect_uri=&scope=email,user_birthday,status_update,publish_stream,read_stream,user_about_me,offline_access,user_likes&response_type=code&display=page
2 Problem is that instead of Showing Permission Page facebook showing its own Button then when i cick on that button it showing Pemission Page...
FYI When i hit this link directly to browser it is working fine. But through my website it is as above.
How to avoid this button to appear and directly show permission page to user..
It was Bug from facebook..
Now it is working fine..
I have created an app that will be used as a tab on my company facebook fan page. I have a new requirement to capture when the user clicks the like button on the facebook fan page and hide a portion of the app page (within the iframe) when the event fires. Although the like button is on facebook's page, is there a way to capture the click event of the like button (ie: javascript sdk) within my app iframe so I can hide appropriate elements?
Like this .... http://www.facebook.com/redbull
Thanks for any and all advice,
B
I found the answer...
How to detect Facebook Like button pressed and trigger event?
I checked the incoming request for fb_sig_is_fan.
I am afraid that this is not possible. Also it makes no sense! because Facebook will reload the page once you click on the like button!
On my WP7 app, I am trying to authenticate with Facebook using OAuth 2.0 and can get to the login screen of facebook. When I enter the username and password and try to click Login, the button doesn't get clicked for some reason. (This is in the emulator). I am not sure why I am not able to click the Login button.
Here is the link that I navigate to for facebook login page to show up
https://graph.facebook.com/oauth/authorize?client_id={0}&redirect_uri={1}&display=touch&scope=publish_stream - where the {0}, {1} are substituted accordingly before navigating.
Thanks,
Pratik
Well, I figured it out.
The browser control has a property IsScriptEnabled which seems like it is false by default. Set that property to true and I can click the button. This is pretty strange because I was able to click other button for Cancel even before setting this property.
At least, for anyone else who runs into this issue, please try setting IsScriptEnabled = true and give it a shot.
Pratik