Git Product home page Git Product logo

facebook-login's Introduction

facebook-login

See the component page for more information.

Make sure you import the right element definition (dist/facebook-login.html)

Contributing

This Polymer element is written in ECMAScript 15. The repository includes a gulpfile that uses babel and other tools to transcompile the ECMAScript 15 code to ECMAScript 5 code. If you want to contribute, run gulp in your terminal to build the dist directory and compile the element for browsers that lack support for ES15.

Note for Contributors

Clone this repository inside a wrapper folder (i.e. mkdir facebook-login-wrapper && cd $_ && git clone https://github.com/davidwittenbrink/facebook-login.git) to avoid bower from installing dependencies inside your workspace (the will be installed inside the wrapper folder instead).

Installing Dependencies

Run npm start to install devDependencies and bower dependencies.

facebook-login's People

Contributors

davidwittenbrink avatar frkr avatar nathanchapman avatar pdehaan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

facebook-login's Issues

polymer dom global variable

when the global polymer option 'dom': is set to 'shadow', the FB.customCheckLoginState is not called after login.

Juste add the following lines:

<script> window.Polymer = { dom: 'shadow' }; </script>

in the head section of the demo file to reproduce.

Best regards,

given urls' are not allowed

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

Broken outside of Demo

The component works correctly outside of a Polymer app, but once imported, only shows up in Chrome (not Safari or Firefox). In Safari and Firefox it's being rendered as 0px by 0px.

Signs out of Facebook Globally

This looks promising. Is it designed to log you out of facebook altogether when you log out, or just log you out of your app? It seems to log me out of FB everywhere at the moment.

document.findElementsByTagName fail

document.findElementsByTagName didn't work with nested web components. Had to change the 'force rendering' part by selecting fb-login-container like this:

container = this.$['fb-login-container'];
window.fbAsyncInit = function() {
    ...
    if(FB_APP_XFBML)
        FB.XFBML.parse(container);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.