Is it possible to send website invitee to google plus users - api

Is it possible to send website invitee to google plus users.
I have a website with option to login using google account. I want to send an message to all friends of logged in google users on logged in users request.

I think interactive posts would be a good solution for this.
This allows users to choose themselves who and if they want to invite.
You can define an invite text that will be prefilled in the share box (even though users can adjust that text).
If you want you can also use the people.list method to fetch some of the more relevant friends and prefill the share box with them.
See https://developers.google.com/+/features/interactive-posts and https://developers.google.com/+/web/share/interactive for details.

Related

Create a direct link to open a conversation with a user at chat.google.com

I have a list of contacts on my site, each of whom has a valid google account / email address. I want to create a link for each person which, when clicked, will take the user to chat.google.com (not hangouts) and open a conversation with that person.
Looking at the URLs which appear when I open conversations with users in the Google Hangouts chat web app, the format seems to be the following:
https://chat.google.com/u/1/dm/
Is there a way of retrieving this user id for a given google user?
If this is possible, will a link of constructed in this way solve the issue, or is there more to consider?
Many thanks in advance.

Can the instagram api pull likes and comments from an account that I do not manage

I want to pull likes and comments from any account that I specify. Can this be done with the Instagram API or do you have to have the accounts permissions to pull this info.
Essentially I want to be able to analyze this data without having log in credentials for the account.
Thanks!
Following the June 2016 changes to the API, you will need to invite the other users to be "Sandbox Users" of your API client. And even then, the access will be limited to their last 20 posts. Here's a quick explanation of the new Instagram API rules.
TL;DR
Sandbox users are other Instagram users that you “invite” to your
client. The main reason to do this is so that your app will then be
able to “see” their last twenty posts in addition to your own. In
other words, when they accept the invitation, they show up on the tiny
desert island where your app lives.
So you don't need their actual login credentials, but they do need to accept your invitation in order for it to work. The only other alternative is getting your app through the submission process to "go live" but there are very few use cases which they will accept anymore.

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

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.

How to make authorize request with Google Plus Social Graph

I am working on PHP application, which communicates with Google Plus. For getting information about people in circles I send request to this link: https://plus.google.com/u/0/_/socialgraph/lookup/visible?o=%5Bnull,null,%22GOOGLE_USER_ID%22%5D&rt=j and it retrieves me list of people in circles for specific user.
In my application I want to check for each user in my friend list (person in circle), if he/she has me also in circles, which means we are friends. But if person has blocked to list people in circles for public, then I get empty array in response despite he/she is my friend. So I would like to know, how to send with this link authorized request. For example how to include there access token.
Because now it shows only public data and it acts like I am not logged in.
Use: https://developers.google.com/+/api/latest/people/list and ask the user to sign-in then you'll be able to get their consent and retrieve the list of people they're following.

How can I allow users on my website to invite friends from the Google Contacts?

I'm looking for a similar option that exist in Facebook (http://developers.facebook.com/docs/reference/plugins/send/) But for google.
Something like a button that allows people to view a list of their gmail contacts and select some of them and send them a message.
I've found friendconnect, which does something similar, but not exactly it. In any case friendconnect will be discontinued on March 1st.
Any ideas?
Your application should probably take care of sending the messages, but if you want to get which contacts a user has, there is an API for it (http://code.google.com/apis/contacts/).
This will of course require the user to trust your site enough to authorize this data exchange.
You should consider requesting this access using OAuth. There is some information about this here (http://code.google.com/apis/contacts/docs/3.0/developers_guide.html#Auth).