how to check if a specific user is signed into google hangout - google-plus

Is there an API call to check if a specific user (whose google+ id is known) is signed into Google Hangout or not ?
The application I am working on requires me to show a Google Hangout button to customer X only when customer Y is already logged into a Google Hangout.
I have already checked the People Google+ API as well as the Hangout API and I cannot find any call will provide me this info.
Please let me know if this is possible.
Thanks,

Related

creating instagram posts (video and photos) on behalf of users server side Scheduled

I wanted to create video or picture posts on behalf of an authenticated user (i have their access token after they logged in to my using instagram credentials) on a future time.
For example, user creates a video post tonight, and schedules it to be posted tomorrow at 7AM.
Is this possible?
I know there are companies out there like hootsuite that claim to allow to schedule posts for social media account but i've never used them and i want to create cloud service, so an SDK or API is what I'm looking for.
Their developer portal is very vague so i wanted to ask the community for some direction.
Facebook (owns instagram) has documentation on how to share feed post from your app to instagram, but it still requires the instagram app to open and for the user to tap/click the submit button.
https://developers.facebook.com/docs/instagram/sharing-to-feed/
any insights in the right direction is appreciated.

Instagram Login - How do they do it without even going to the Instagram website?

I've seen some Instagram likers and other tools like follow unfollow apps, login and get access to an instagram account without redirecting to instagram's website.
I mean they have their own custom form built and they ask us to login with our instagram innit.
How do they do that? Does Instagram API allow that? And how do they beat the limit? I heard that instagram has an API limit of Max 5000 calls per day and 2000 follows. But they follow like a ton of people in the same website. How'd they do it?
Below are some examples of Instagram logins that I've used my fake accounts with (I'm sure nobody wanna get their accounts hacked)
They are not using the official but the internal instagram API. This means that they simulate an android or iOS device and login with your credentials so instagram thinks you are logged in from a mobile device. This gives you access to all instagram features (like, follow, upload photo and video and etc)! There are a lot of unofficial instagram APIs on github that do exactly this.
They also use a proxy for each account so they stay beyond the rate limits and don't get flagged.

Start a Hangouts calls from a website

I want to setup a "Hangouts"-button on my website in a way that my end-users have to click on a button, a sales person is being notified and will start a hangout call and shares the link of that call (via a chat, preferably). So end user can join that hangout call provided via the link without any google account and by just entering his/her name.
I have setup Hangouts on my site via https://developers.google.com/+/hangouts/button and my application via https://developers.google.com/+/hangouts/getting-started but still I didn't find a programmatic way to do this. IMBK I think there is no document available either officially.

Instagram api - get all photos by hashtag

I am new to this Instagram API, and I read their doc about endpoints, this is the endpoint that I am using:
/v1/tags/{tag-name}/media/recent?access_token=ACCESS-TOKEN
It is fetching the images, but, only on my accounts photos. I want is, I will give an tag-name, and it wll display all, not just the photos on my account, but all the photos in Instagram too.
I know has been a long time, but just for the record.
Since you need the public_scope permission for this (the permission that gives you access to all public data on instagram, and not only your account) you need your app to be reviewed and approved by Instagram. However, if you're using the API for a one-site personal project, Instagram will not approve it.
Here's from Instagram's docs:
1: Which use case best describes your Instagram integration?
R: I want to display hashtag content and public content on my website.
A: This use case is not supported. We do not approve the
public_content permission for one-off projects such as displaying
hashtag based content on your website. As alternative solution, you
can show your own Instagram content, or find a company that offers
this type of service (content discover, moderation, and display).
You can find more information in the Permission Review documentation.
Your client is in Sandbox Mode and can only search for tags of photos posted by invited users. You have to login into https://www.instagram.com/developer, edit your client and click on the "GO LIVE" button.
If the "GO LIVE" button is disabled, you have get your app reviewed by Instagram first: Click on the Permissions tab and submit for review. (Company Name, Contact Email and Privacy Policy URL are required to start a submission.) Once approved, u will be able to click Go Live.
By hashtag you mean tags.
It works for me. Despite I'm using python client, it should work well when you're developing your own client. Look:
from instagram.client import InstagramAPI
api =InstagramAPI(client_secret=settings.CLIENT_SECRET,
access_token=settings.ACCESS_TOKEN)
result = api.tag_recent_media(tag_name='castle')
media = result[0]
for m in media:
print (m.images)
print (m.user)
print (m.tags)
You can try it and it is working for me.
/v1/tags/{tag-name}/media/recent?client_id={YOUR_CLIENT_ID}
My client id is created before "permission review", it is working now and I am trying to submit permission review to Instagram now, hope it will pass.

How to obtain all the Google Hangouts a user has participated in?

The Google Hangout APIs do not seem to have the ability to fetch all Hangouts for a user. Also, the Google plus APIs to not seem to have Hangouts as part of activities or moments. Are there any Google APIs that return the past Hangout list to use along with the Google Hangout APIs?
There are not any public Google APIs to get a list of Video Hangouts a user has participated in. You can file a feature request if you would like to see such an API method.