Post on Google+ Stream using Google+ API - google-plus

Any one have idea about how to post on our Google+ Stream using Google+ API? I need to post on the stream.

There is still no "public" officially supported way to post on a Google+ stream using an API. (You can post using the +1 or Share buttons, and some people have used unofficial APIs or leveraged the SMS posting methods, but this isn't what you're looking for.)
For details on what you can currently do with the limited API you can look at https://developers.google.com/+/api/

Here is an unofficial Google+ API written in js. https://github.com/mohamedmansour/google-plus-extension-jsapi

Related

Twitter API V2 video url

I'm trying to fetch a tweet's video url using API V2.
Using API V1.1 I can use
https://api.twitter.com/1.1/statuses/show.json?id=<ID>&include_entities=true
and get the direct mp4 urls in the response at
extended_entities.media[0].video_info.variants
But using API V2 I can't seem to find any ways to get those, I was only able to get the video thumbnail but not the actual video.
I've tried it with both the lookup and the recent search endpoints but couldn't find a way to do that.
In lookup docs twitter says:
This endpoint was recently graduated from Twitter Developer Labs, and is the replacement of v1.1 statuses/show, v1.1 statuses/lookup, and Labs Tweet lookup. If you are currently using any of these endpoints, you can use our migration materials to start working with this new endpoint.
but that doesn't seem to be the case, is that feature not included ? Also if there is any other way to be able to embed a twitter video in a web page (without the tweet text) that'd be helpful.
The videos are not currently available in the Twitter API v2 at this time. This is a known request.
For those who still looking for an answer, you can do it on the V2 by adding the following parameters :
expansions=attachments.media_keys
media.fields=variants
Your final link should give https://api.twitter.com/2/users/{{uid}}/tweets?expansions=attachments.media_keys&media.fields=variants
Source : https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/media
Progress on twitter-api-v2 media handling, Maybe this will allow the video URLs too in the response.
https://twittercommunity.com/t/v1-1-media-endpoints-available-for-essential-access-in-the-twitter-api-v2/171664

Instagram API get notified on new followers

Today I had an idea. I want to make a light switch on when I get a new follower on my Instagram account.
I know some APIs to switch on the light, but I'm looking for a way to get notified on new followers. So I searched on Instagram documentation but I only found webhooks for mentions and stories.
Do you know if there is a web to get notified on a new follower to call the light API?
Instagram does not provide a webhook endpoint for follower events. It provides support for changes to the comments, mentions, and story_insights fields as described here.
The link has changed and the new link for the documentation on this is here:
https://developers.facebook.com/docs/instagram-api/guides/webhooks#step-1--create-an-endpoint-and-configure-the-webhooks-product
But dmulter is right, they don't seem to have this ability. you can make webhooks for comments, mentions, and story insights
also you can get webhooks on instagram messages through facebook messenger api. here is some documentation on this: https://developers.facebook.com/docs/messenger-platform/webhook#events
Try to look at Webhooks. I’m using webhooks to get notifications about new like on my facebook page. Instagram has webhooks to. But I didn’t read the documentation.

Edit profile picture on Instagram using Instagram API?

How can I edit my profile picture on Instagram using the Instagram API? I've reviewed the API documentation but haven't found anything. I'm using C# .NET, also downloaded "InstaSharp" but can't figure it out.
With the current Instagram API (v1) this not possible. There are only 3 POST methods to modify data and those are for Relationships, Likes, and Comments.
If you are not committed to instasharp, this may have been asked and answered: Instagram API using Json.net
The answer uses json2csharp (http://json2csharp.com/), but from there it looks like it would be a breeze to just set User.profile_picture.

post comments to google plus with api and fetch them

In facebook, we can specify a web page url and add comments to it, or fetch comments for it, with the Graph API.
Later we can fetch the comments for the page, using a sample code, and display them on my page, as a widget, using a javascript code.
Similarly, is it possible to setup comments for a web page virtually using google plus, and display them with a code, using the API ? I came across google plus client library for php, but not sure about how to achieve what i wanted, with it.
Currently there is no public write API for Google+ or a way to bi-directionally integrate Google+ comments with an outside web page.
You can incorporate comments from a Google+ post onto your static page. Here are a couple of resources that can illustrate how:
The full documentation for the Google+ read API is at https://developers.google.com/+/api/ and there are libraries for PHP and JavaScript at https://developers.google.com/+/downloads/
http://little418.com/2011/12/google-comments-on-your-static-html-blog.html contains some examples about how to echo comments from a Google+ post.

Google+ post or "+1" something using Google+ API

I see that Google started to offer some alpha API.
Is there any way to post something in Google+ using Google+ API? If not the same way as for Facebook and Facebook SDK, at least something similar.
I would like to implement it in a native iOS/Android code.
No. I expect that similar to how there is no way to implement a Like via an API, there will never be an API to allow sending a +1 via an API. It is expected and intended to only ever be done by direct action by a user, NOT something that can be manipulated by a programmer to artificially inflate their rankings.