We use googleplus api in our project, so user can link his account. Then we display a link retreived from https://www.googleapis.com/oauth2/v1/userinfo endpoint (field "link"), but we start getting links that leads to 404 page. Link shape looks like every other valid link. https://plus.google.com/USER_ID
Not all Google accounts have Google+ profiles.
Related
Google+ API did shut down.
Google People API can be used instead, using the same account IDs.
However, People API does not accept names from Google+ vanity URLs.
How can I get the account ID from a Google+ vanity URL, now that I can't use Google+ API for this task anymore?
Go to https://developers.google.com/+/web/api/rest/latest/people/get
On the right-hand side in the Try this API section, in "userId" enter "me"
Press the Execute button
If not already logged in log in with your Google account
After a successful login, an HTTP 200 result is shown
Below an "id" entry is shown
source
I try to authorize through Spotify API (https://developer.spotify.com/web-api/authorization-guide/) and my code is:
Spotify link
But instead of redirect me to my page it says:
I tried to delete app from "My applications" tab on developer.spotify.com and create a new one with new client id and it is no different. I log in to Spotify with my Facebook account.
Ok, I figured it out. You have to go to your application settings and enter your URL into "Redirect URLs" and it will work. I wonder why it isn't included in documentation.
I am trying to an implement stack of social buttons for mobile application. I got mobile links for Facebook and Twitter but I am not getting right link for LinkedIn and Google+ apps. Currently I have link http://m.linkedin.com/shareArticle?mini=true&url=www.example.com but I think this links does not work properly and it shows webpage instead of big login box like twitter and facebook. Can someone please help me to get correct links for google+ and Linkedln?
LinkedIn URL Format:
https://www.linkedin.com/sharing/share-offsite/?url={url}
Source: Official LinkedIn Documentation for Sharing.
Google+ Format:
Probably not useful anymore. Google+ has discontinued. Source: Google+ Blog.
I have website where i enabled login by Google+ using OAuth 2. Is this possible to change the profile picture of Google from my website once he get login?
Thanks in Advance
Hmm.. ya it can be possible if your site use application which uses Google Apps-Profiles-Data-API. This Profile data api allow update status. But you must authorize the app.
yo can find more more here-
Profile data API
I'm building my website to pull out my own linkedin profile info. And it is working but when a visitor comes to the site, they will have to login to see my profile info displayed on my page. This should be a public website and I don't want visitors to log in to their linkedin account in order to see my public page.
Is there anyway to do this (so that visitors can see my info without having to be logged in) ? Thank you
NOTE: I'm using their REST API by the way.
Simple code
Per the documentation (section #1, bullet point 3), it is not possible to share your profile information via the API without the user both authenticating your LinkedIn application that is pulling the info, and also the authenticated user then being connected to you in some way. From that document, "Each user must grant your application access to their LinkedIn network and they can only see data from their own LinkedIn network. For example, you cannot gather information about a LinkedIn member in one user's LinkedIn network and show that information to other users"
In short, the REST API is probably not the way to go to expose un-authenticate user's to your profile. What you might want to do is use one of the plugins, such as the Member Profile plugin.