pitchtarget / ember-cli-facebook-js-sdk

Simple Facebook SDK for Javascript addon for your Ember CLI app.
MIT License
29 stars 15 forks source link

Added extra options hash to login function that get passed along with scope to fb.login #26

Closed bradcrawford closed 7 years ago

bradcrawford commented 7 years ago

The main use case (for me) is to be able to pass the default_audience param to the login method so that an app can request to be able to post publicly rather than just to 'Friends' which is the default.

screen shot 2017-07-25 at 3 11 40 pm

I'm happy to add tests but would appreciate some direction as not sure of the best way of testing this functionality.

bugant commented 7 years ago

Thank you @bradcrawford

bugant commented 7 years ago

@bradcrawford would you mind to add a brief paragraph to the README to illustrate this new feature? See #27

bradcrawford commented 7 years ago

Sure thing