Pull and display more data while using accounts-facebook - meteor

I've tried pulling more data from facebook while using accounts-ui + facebook
but for some reason I'm not able to pull/display the data
I've tried editing facebook_server.js to pull email and age with no success in addition tried adding Meteor.loginWithFacebook function and still no luck
Could anyone attach an example how to do it properly?

This answer might help, although it's using the Github service and not facebook. But the flow should be the same.
Meteor login with external service: how to get profile information?

Related

Google Signin with Firebase Auth on Android Cordova not working

I spent hours trying to make Google Signin work on Android with Cordova (it was working on iOS / Web). I have followed these instructions: https://firebase.google.com/docs/auth/web/cordova
I was trying to use a custom Dynamic Link ("mydomain.com/link") and it was not working: after authenticating, the user was redirected to the website INSIDE the popup, instead of closing it and authenticate in the app.
So I decided to create a simple "myapp.page.link", but it was not working neither.
Finally, I simply deleted my custom Dynamic Link, and voila, it works!
So you can use a custom domain for the AUTH_DOMAIN, but not for the DYNAMIC_LINK_DOMAIN. Important: if you use a custom AUTH_DOMAIN, you will have to change manually the authDomain attribute in the firebase config of your app.
#Firebase team: I think it could be useful to update the doc to precise that:
you cannot use custom Dynamic Link
you cannot have several Dynamic Link active
And ideally, it would be ideal to explain how the Dynamic Link is used by Firebase Auth: I followed the explanation, thought that any dynamic link would do the trick, but since you do not explain how it works, it's extremely hard to guess that it is not the case, and that having several dynamic links can be an issue.

Why aren't my configurations for Meteor accounts-google package working any more?

I am NOT new to configuring the meteor add service-configuration specifically the accounts google package, in fact I have done so in several of my projects. It's always been as easy as following the instructions in the popup window (as seen in the image below) to configuring the package, and it has ALWAYS worked perfectly.
Ever since Google added the extra field to fill in under OAuth Consent Screen tab as seen in the image below
...I've started getting error messages with my google accounts configurations.
I do correctly fill in the Authorized domains section, ensuring that the details match the address given in the Authorized JavaScript origins and the Authorized redirect URIs, naturally leaving out the https://www. section... nevertheless, while signing in via google. I keep getting the below error message:
Can someone kindly explain what is going on here and how I can resolve this?
I found this article a NOT so clear solution and tried to follow the instructions but, perhaps the instructions aren't that clear, or are outdated.
Looking forward to your help.

Where to find email form in Meteor framework?

I have just downloaded Meteor framework from github and running it locally it shows signin/signup page..
Where can I reach that page or the page that contains the email form to authenticate?
I have looked everywhere but with no luck...
Some of the examples have the accounts-ui package built in. You can see the documentation here: https://docs.meteor.com/packages/accounts-ui.html
If you are trying to change the style of the login, you'll want to use the accounts-ui-unstyled package.
Detailed styling guidlines can be found at: https://guide.meteor.com/accounts.html#useraccounts

packages for sending post through a mail, facebook or twitter using meteor

I want to provide the user with the option to share the posts on my website using mail, facebook or twitter... similar to this(https://hasjob.co/view/bl0dl), Please let me know the available packages or other ways in meteor & meteorite for implementing this features.
Javascript plugins like sharethis can still be used with Meteor.
However, a specific Meteor package that will give you what you want is: social share

Twitter consumer key wordpress

I am trying to get Twitter consumer key for a wordpress website. I understand I have to create an application, but want to be sure this is not going to affect my client's twitter account. I just simply want to get a twitter count for her website so I guess I don't understand why I have to create an application? Can anyone enlighten me? What is the purpose of the application? Thanks.
It is not directly related to WordPress. Creating a Twittter application won't affect your account. You just gotta be careful not to share the secret keys.
Here's a very thorough answer about using the new Twitter 1.1 API
Simplest PHP example for retrieving user_timeline with Twitter API version 1.1
If you check the documentation the Get Users method returns the number of followers:
https://dev.twitter.com/docs/api/1/get/users/show
Cheers.

Resources