Is it possible to login as a page using Google+ Login - google-plus

Is it possible to use Google+ login page to allow users to login as pages to the site?
Otherwise, is there an API to get information about a logged in user pages? Or do I need to request access to Pages API?

In some cases, this is possible. However, the user would need to register a password on their page, which, according to the help topic, "is currently not available to pages owned by Google Apps accounts or users under the age of 18". I don't believe most people have this set up. You could request having such people set this up, but if they fall under that group they would be out of luck.
As such, I would recommend that you look for another way of doing this.

Related

Is It Possible To Use An External Database For User Data & Login Credentials With Shopify?

Our client has asked us to build a Shopify site that ties into their in-house customer db (with or without using Salesforce). Is this even possible? Does Shopify support any method of cross-site database querying?
The only thing I can think of to accomplish this is to write a webhook on their in-house server with a simple read-only mini DB query API. However, as that I'm not super familiar with Shopify's more obscure capabilities (and having already spent quite some time sifting through their docs and running google searches on the matter with absolutely zero results), I'm not even sure if this is possible.
Are we barking up an impossible tree, or is this something that can actually be accomplished?
Thank you in advance for any help you can give.
What I have understood from your description is you already have an external database with user login details and you want to use the same for authentication in Shopify. If yes, then it is possible with Shopify Multipass feature. This feature is only available for Shopify Plus plans. From the Shopify Multipass docs
Multipass login is for store owners who have a separate website and a
Shopify store. It redirects users from the website to the Shopify
store and seamlessly logs them in with the same email address they
used to sign up for the original website. If no account with that
email address exists yet, one is created. There is no need to
synchronize any customer databases.
For your particular scenario, you would have to validate user credentials with your external database, generate multipass url and redirect.
Yes your requirement is quite possible. But the method i am going to mention is a hack basically. Below are the steps:
Create Login page/Account creation page in Shopify
When the user does a login/create account you send the information to your server via below methods
JSONP request
Creating a iframe of your domain and passing the information in the iframe
Now, you validate the user credentials at your server
After validating you check if the user is present in Shopify. If not you create the user with a password. API Link
Make sure you save the user password you push into Shopify at your end also.
Now when you have completed authentication of the user, return back Shopify username and password
Create a hidden form in Shopify liquid file and pass the credentials in the respective fields and submit the form and user should be able to log in with the existing password they have!

Linkedin APIs for authentication, connection invitations and user search

I wrote this same question to #Linkedin support service and I was redirected to this link where they indicate to ask questions in Stackoverflow.
We are developing a mobile App for the Polytechnic University of Madrid and we plan to expand to other Universities in the future. This aplication will need in a first instance OAuth via Linkedin. It will also need to allow the authenticated user to send connection invitations to other users contained in a list. For creating that list of users, it will be useful if the admin of the system could search in a bar similar to the one which Linkedin has, write a user name and select it, retrieving its user ID or what is needed to identify the invitation destination.
Summing up, the App needs:
OAuth API
Connection request API
User search API
I have read on the web that some of Linkedin's APIs suffered some modifications in which most of them where limited to allowed users or apps. So the aim of this post is knowing:
Do the APIs my mobile application needs exist?
What do I need to do to obtain the access to those APIs in case they exist?
User search API
For this feature you could use something like Algolia Instant Search
LinkedIn has changed many things related to user data. If you need access to its data then you must follow the given guidelines.
Basically you have to create a LinkedIn App and then the users have to grant permissions to your app by installing it in their device(s) and then only you can collect their data.

Google+ api login

I am trying to create a site where you can login with Google+, but I am having some problems understanding the Google+ API.
Can anyone explain to me how to fetch information, such as e-mail, name, id, etc. or give me a good link for a site where I can find some documentation about this.
Before you suggest me to this site I have already read it but not finding out how to fetch info.
Google+ Sign-In provides users the ability to authorize your application to retrieve data from the Google APIs based on the scopes that you set for your button. When a user authorizes your app, the sign-in callback returns you an OAuth 2.0 access token. This token gives you the ability to queries any of the APIs that your scope granted access to, this is not limited to Google+ APIs. You pass your access tokens to the API when you make requests.
Basically, you read the prereqs and didn't continue reading the API docs for the lower level details specific to the API that you are interested in. In this case, it sounds like you want to retrieve a person's profile (A "Person resource") by using the people.get method. At the bottom of that page are code examples for a variety of languages.

login with pages and importig from pages

i am currently working on an app, that requires people to use their facebook profile to sign in. My question is: is there any way for non-individuals to be able to sign in? I mean group pages, business pages etc, because i need to import their profile picture and their names. Maybe any other way/idea to import them.
That would really help my case.
No. All Facebook accounts are supposed to belong to users. Users can be admins of groups and business pages, but there is no way to directly login to one of these without first logging in to their user account.
Businesses and groups sometimes incorrectly register themselves as users. There is no way to filter these out.
That said, if you make a call to https://graph.facebook.com/ID?fields=name,picture where ID is from a user, group or business page, all of these return a name and profile picture.

Authentication levels and for specific people

Is it possible to have login levels with the facebook authentication? Also, is it possible to only give permission to login in my website if you meet certain requirements, like for example being in a facebook group, or liking a page?
I have a students website, and I want them to be able to login using facebook but not every one can access the information only students form my course. So is it possible to check if they are in the course closed group before letting them login?
Thanks for the help...
No, you cannot do that prior to the login. However, immediately after the login you can validate, by their facebook id, if they're on your list of approved people, and redirect away others who are not. Google for Facebook fan gate examples, there's alot of them out and about.