web plugin like box browser issues - facebook

On my website, I am able to see the plugin in Chrome while others cannot. No one is able to see the plugin in IE. I tried using the iframe code and now I am using the HTML5 code. Any ideas?
http://craftcaferochester.com/
Thanks a lot!

This is probably your problem:
FB.getLoginStatus() called before calling FB.init().
I saw it in Chrome console. To resolve, see this:
FB.getLoginStatus() called before calling FB.init() error in console
Update:
You should register at Facebook Developers to obtain the appId and channelUrl. Go to JavaScript SDK and read the Loading and Initialization section. When you registered as a developer, you may obtain them from App Dashboard.

Related

Facebook Page not Displaying Google Map Frame in Mozilla and Chrome

to all. I am new to Google Map APi.
I have made the Dynamic Google Map which fetches the values from My DB.
Here, is it http://pollinator.org/fb/sharapp/
and I have added that page using my app on FB on this link :
https://www.facebook.com/ThePollinatorPartnership/app_512541485429310
I can show exactly output in All browsers except Mozilla Firefox 24 and Google Chrome Browser.
I have also HTTPS connection link for that,
I tried also above link to integrate into the my FB page. But, Its also not showing in Mozilla and Chrome.
If anyone have solution please help me to solve out. I have tried lot of solutions.
Thanks in advance for help.
Use
https://maps.googleapis.com/maps/api/js?sensor=false
instead of
http://maps.googleapis.com/maps/api/js?sensor=false
Google Chrome and Firefox will block a unsecure url due to browser security settings

Asking facebook permissions dialog inside iframe

Im trying to put the facebook permissions dialog within an iframe, however not making much progress because of lack of Facebook documentation, and the undocumented hacks around web are not working any more.
news.yahoo.com does something that i would like to emulate.
When you click on a news article it says login with facebook. After the initial oauth dialog to authenticate the user ( which does not ask for permissions), yahoo pop's another dialog from a yahoo URL which included the Permissions dialog within as an IFrame.
Does anybody know what API's can be used to accomplish this?
The fiddler trace indicates that the yahoo URL is calling:
the uiserver.php endpoint with the permissions.request method.
https://www.facebook.com/connect/uiserver.php?method=permissions.request&app_id=194699337231859&display=iframe&redirect_uri=https%3A%2F%2Fopen.login.yahoo.com%2Fopenid%2Fyrp%2Fsc_check&cancel_url=https%3A%2F%2Fopen.login.yahoo.com%2Fopenid%2Fyrp%2Fsc_check&perms=user_birthday%2Cuser_likes%2Cemail%2Cpublish_actions&response_type=code&locale=en_US
When i try to do this using FB's javascript SDK:
FB.ui({
method: 'permissions_request',
perms: 'read_stream,publish_stream,user_photos',
display: 'iframe'
},
function(response){
alert("badfood");
alert(response);
});
It goes to a different endpoint: facebook.com/dialog/permissions_request? ...
And I get a 500 server error from facebook without useful debug info.
Thanks
some things.
1) first add the parameter show_error=true. This will tell you more about what's really causing the error.
2) Facebook has multiple ways it can display any dialog. In the fiddler request, note the display=iframe parameter. This is used for canvas applications mainly but can be useful for regular iFrame displays as well. It opens the auth dialog in a lightbox.
3) Try loading the SDK synchronously. Remove the Async references that Facebook tells you to include at the top of the page after the body tag and use the secondary method. Include the all.js and fb-root div tag and load FB.init just before your FB.ui call.
4) Check out the echo tool.
This tool can print out your GET params or your . It can also decode
the signed_request parameter as used in Canvas applications with the
OAuth 2.0 Beta migration enabled. This is very useful in debugging
Canvas Authentication.
http://developers.facebook.com/docs/reference/dialogs/
Loading the auth/permissions dialogs inside iframes are not permitted nor possible due to the risk of clickjacking. Sites where you see this being done have special agreements with Facebook that allows them to do this.

Implement the facebook connect on uiwebview using HTML5/JavaSCript for iphone sdk

I need to implement the facebook connent on UIWebview using HTML5/ Javascript. Presently what I implemented is working fine on iphone safari but not in native application. Please Suggest. Thanks
when the app loads up have it open a web view that point to a website that does what you want it to. see facebooks graph api documentation for web apps/websites
I'm working on this kind of app also. I haven't finished it yet but after googling I found just this link that seems to work with UIWebView
http://suhinini.me/2011/05/24/embedding-facebook-social-comments-plugin-to-an-ios-application/
I've tried the HTML5 code on the comment plugin page but it doesn't work. The UIWebView just shows nothing.
I'm still looking for the best solution.
edited
Ok now I got my app working. What I did was creating a HTML file, containing the code from facebook comment plugin page, and put it in my project (I think this should work fine with file on server also). I use this
[UIWebView loadHTMLString:baseURL:]
since my HTML file is local.
This is the facebook comment plugin page
https://developers.facebook.com/docs/reference/plugins/comments/

Can't edit credits callback url in Facebook Application

I try to edit credits callback url in Facebook Application Edit page. and got
Error
Unable to update Test App settings, please verify that all of the test apps are valid.
and no more information.
This is a known problem which seems to be introduced just yesterday, see https://www.facebook.com/help/community/question/?id=2166100
I imagine that facebook will react to it soon.
Edit: Just to give an update, there are two relating bug reports:
https://developers.facebook.com/bugs/282014131882255
https://developers.facebook.com/bugs/145135438951191
Edit2: Fixed for me now!

Facebook Javascript SDK not working on Page

It seems the javascript SDK is not working at all on my domain. The like box no longer works... This happened after I created an app canvas page, I think.
I'm trying to use FB.ui on my apps canvas page but nothing with the FB js SDK is working. I figured it might be a javascript problem so I removed all of the jquery / mootools but no luck.
One thing is I don't have a secure URL yet, could this be my problem?
Secure URL is not the issue. Please check the Error console to see the errors thrown? To resolve FB Undefined issue try loading that asynchronously as suggested by facebook use the code provided here http://developers.facebook.com/docs/reference/javascript/