Is it possible to update the Profile image when updating the Google Apps Profile image - google-plus

The Google Apps API allows companies to make custom integrations into the mail environment. One of the things possible is to use the Profile API to keep contact information up to date. Now that our users are starting to explore the use of Google+ and Hangouts, there comes a need to keep information in sync there too.
One of the key features of the Profile API is the ability to update the profile image (detailed here: https://developers.google.com/google-apps/profiles/#AddUpdating_photo). However, this API doesn't connect back into the Google+ platform by default so the profile images for the organization are getting out of sync.
Is it possible to set it up such that when one image is updated, the corresponding Google+ account's image is updated as well?

Currently, there is not an API for updating the Google+ profile image or other profile data.

Related

Get media from public accounts with instagram API

I'm working for a company that displays content on big screens located on public places like GYMs or waiting rooms.
One client asked app that shows Instagram content from celebrities accounts, so I created one using the Instagram API.
The problem is that the app is in sandbox mode and it gets blank data.
It seems I can only show media from sandbox users (not Beyonce), when I submitted for review it was rejected because it doesn't meet the requirements.
Is there a way to make it work?
During tests I used a valid access token I found on internet, but I don't think that is a valid solution.
You are correct, when app is in sandbox mode you are only able to see data on Instagram from sandbox users which you have set in advance. You won't get any public data on Instagram in this mode.
According to the API, your app doesn't have the criteria required to get approved.
From the Permissions Review page:
Valid Use Cases
We will approve submissions of apps that fall into these use cases:
To help individuals share their own content with 3rd party apps
To help brands and advertisers understand and manage their audience and
digital media rights
To help broadcasters and publishers discover content, get digital > rights to media, and share media with proper attribution
They also listed use cases of applications that won't get approval and it seems like your app matches one of them:
Here are some examples of scenarios that will not be approved:
One-off projects. If you are an agency building websites or other integrations, note that we don't grant permissions to clients created
for one-off projects. If you are interested in building a product,
platform, or widget that will be used as a service across multiple
projects, then you may submit a single client_id that you can use
across multiple projects
...
To get approved you should modify your application to correspond with criteria, perhaps build multiple projects?
You can also try to pull down the data from this URL: https://www.instagram.com/<username>/media/
For Beyonce account, use: https://www.instagram.com/beyonce/media/
Lastly, the access token is unique per-app, so you can't be using a random one. Here is a tutorial on how to generate access token for your app.

Google Youtube Data v3 not found

I have gone through a tutorial that takes me to the console.developers.google.com/ webpage. I created a new project, then i went to API & Auth .. clicked on the API key to try to then scroll down and select the Youtube Data API v3 and it is NOT there, why? I need to get the API key for an application I am using. I have logged in to two separate accounts and it is not available in either account. I need help in finding the API key so that I can use it in an application. I called the adwords team and asked them and they asked me to send a question to you in this forum.
By default, there were a few Google Cloud APIs enabled by default. When they were enabled, the Youtube Data API was not showing up in the list of available APIs. I disabled all the preselected APIs, and then the Youtube Data and Analytics APIs were available.
Looks like you just have to disable the default selections for some reason.

How can I upload a profile picture to Google Plus via API?

I'm trying to build a system which has a tool to upload profile picture to other networks. Twitter have an API point for it, Facebook have some "tricks", but my question is: there is a way to make this on Google +?
I checked the API (https://developers.google.com/+/api/latest/) and didn't found anything, but at Facebook, for example, I can post the picture to a specific album and then send the user to an window to redefine the profile pic. In Google+ I've this option too? What else I can do in this case?
I found something older that permits the upload of new pictures at a Google Apps Profile (https://developers.google.com/google-apps/profiles/#Updating). Maybe this is the path but, as far as I know, the Google+ is the new Google Profile =\

Google plus share using php

Is it possible to share some user activities (some url) to his google+ account directly with PHP (Not like a share button and having an popups or redirections)?
Please suggest me a best practice for doing the same.
Currently, it is only possible with the official Google+ Share Link, but this will render a pop-up.
https://developers.google.com/+/plugins/share/#sharelink
Google+ does not allow for direct writing to a user's stream without a user's direct interaction. You can write to a user's Google+ history after they've approved your application to do so and then the user can choose whether or not to share the moments to their circles or publicly.
The Google+ history is still in developer preview.

Posting on game activity feed

Is there any way to post on a user's activity feed for an iOS game? There seems to be no API for this but there is a permission
user_games_activity
on https://developers.facebook.com/docs/authentication/permissions/#open_graph_perms
I have noticed that there are activity feeds for Facebook games itself, but I haven't come across an activity feed regarding an iOS app.
Any help would be appreciated, thanks!
You can post user actions/achivements from iOS by taking publish_actions extended permission, but you need backend server support. You need a public url with open graph tags for each object/achievement.
Publish actions
Allows your app to publish to the Open Graph using Built-in Actions,
Achievements, Scores, or Custom Actions. Your app can also publish
other activity which is detailed in the Publishing Permissions doc.
Note: The user-prompt for this permission will be displayed in the
first screen of the Enhanced Auth Dialog and cannot be revoked as part
of the authentication flow. However, a user can later revoke this
permission in their Account Settings. If you want to be notified if
this happens, you should subscribe to the permissions object within
the Realtime API.
If you want to post achivements, here is basic info. For more info see the below link.
The Graph API for achievements allows game developers to publish user
achievements in their game to provide more meaningful and relevant
stories.
Note: This API is only available to applications categorized as
'Games'. You can categorize your app as 'Games' in the Developer app
by navigating to About > Basic Info and selecting 'Games` in the drop
down menu in the category field.
FYI: https://developers.facebook.com/docs/achievements/
FYI: Improving app distrubution