Facebook Share Dialog “The domain of this URL isn’t included in the app’s domains.” within a chrome extension

I’m trying to use Facebook’s Javascript SDK to allow users to content from a chrome extension. I’d like to prompt the user with the share dialog.

Unfortunately, because this is from a chrome extension and can be on any domain whenever I try to share anything I get the error “The domain of this URL isn’t included in the app’s domains.”. This is because I’d need to list all domains in the app domains setting.

Anyone know of a possible workaround? Thanks!

Accessing website from chrome extension when using Facebook Login

I have a web platform that has users and a chrome extension written for those users to use. On the website users can register and login using email/password, facebook and G+. On the extension they can login using email/password only.

I’d like to implement Facebook and G+ login flows in the extension but they should be linked to their accounts on the website. How can this be achieved?

I thought maybe I can use FB/G+ access token as an identification measure, but I’m not sure whether the website could check if the access token is valid and of correct user.

Login with Facebook in Extension popup

I’ve implemented my extension in that I want to implement login with Facebook

Login with Facebook 

It is open browser windows but I want to open a dialog box so Is there any way ?

Please help me

Login with facebook in chrome extension

I want to implement Login with Facebook functionality in my extension.
for that I’ve go through all Facebook document but not find proper solution

Please help me if anyone have implement

Detecting Facebook logout and user change in Chrome extension

Long story short, I have a Chrome extension that uses Facebook authentication and the Graph API. The user logs into the extension through my backend using Facebook OAuth authentication. He/she then receives an access token that my extension uses to send the Graph API questions. This part already works.

The issue starts when the user logs out from Facebook (in the browser, not from the extension) and logs in as another user. Of course, he/she is still logged in, in my extension as the first user, which is the issue. It would be important for my use-case to know which user is actually using the extension at any given time.

So my question is: Is there any way to detect when a user logs out from Facebook from a Chrome extension?
Even a method that checks if the user is logged in (and who the user is) would suffice.

I tried using the Facebook JS API’s getLoginStatus method, but since this should happen in the background, there is no valid domain I could give it and thus I receive an error that the URL’s domain is not present within the Facebook app’s valid application domains.

FB.getLoginStatus(function (response) {});

I also tried subscribing to FB events, but the callback is never called.

FB.Event.subscribe('auth.statusChange', function(response) {});

The only solution I can think of right now is to listen to the tabs and parse the current user’s identity from the HTML, but I’d rather not do that if possible.

Interact with facebook without a traditional way

I’m trying to implement an application, to interact with Facebook (via a desktop web browser) using gestures.
So basically end user should be able to interact with Facebook without using mouse nor keyboards.
I know how to extract user’s gestures(captured form a webcam) and map them into a given command on Facebook. For an example, thumbs up gesture would be like on a Facebook post. Head up would be scroll the news feed.

So my question is how can I execute an identified command on Facebook web site?
(in above first example how can I hit on like button – no mouse)
Are there any specific SDK/libraries available for this? or do I have to implement a browser extension?