Upload photos on my website in real time with twitter, instagram or another service - api

I have a question about uploading images from my smartphone to my website.
I want create a little blog where I write and upload image in real time.
For example I like this restaurant, i take pictures of dishes and I share those pic on my blog.
My question is: is possible using the Api/App of twitter or instagram do that?
Take a picture from my smartphone camera, have a "button" for share image on my website.
I hope my english let you understand what I say.
thank's Davide

The answer is yes - you can publish your photo on for example twitter and then use one of many ways to show this (your twitter feed as an example) on your blog. The easiest will probably be to use a twitter widget: https://twitter.com/settings/widgets/new
Of course, you can also use the APIs to import the photos from twitter/insta - but that requires more coding,

Related

try to get content in google plus from China

I am a developer from China where we cannot access content from google plus or facebook due to some "special reason(been blocked)", and I want to get some wonderful content from google+, and put them into my online education website, all content is about learning knowledge.
So my first solution is: call google+ api to get these content, then store them into my site DB(of course, I will write clearly where those are from), but this solution is only for the text, for images, most of them were stored in googleusercontent.com(which is also blocked in China), and I don't want to download these images then store to my own website(overload is too big).
I want to transfer these pictures into other websites(not been blocked in China), then I noticed site: getpocket.com can save image from other websites, and they seem have some cache, can I use this feature? after get image url from google+, then call getpocket api to save this image, but don't know where api will return the cached image url), is it possible do this?
Does anyone have good solution for this images? so I can transfer these good learning knowledge to Chinese people?
(google+ activity api like this: https://www.googleapis.com/plus/v1/people/108305986241738899171/activities/public?maxResults=20&key=)
thanks everybody
I use mongoDB to store image which will be transfer to base64 string. e.g: http://www.tomylearn.com/netTest/index/listInfonews.do?categoryid=47

How to search for videos using GettyImages Connect API

I'm trying to use this API to search for videos. I have a client key, secret, and everything I need.
I have scoured the API doc page up and down several times, and can't find any reference to video search.
The on-site search allows video search, and the API works fine when I search videos.
I use:
'https://connect.gettyimages.com/v3/search/images/editorial?phrase=' + query + '&fields=id%2Ctitle%2Ccaption%2Cpreview to search for images, and I've tried every combination of the word 'video' in that to search for videos, to no avail.
The images search works great, by the way.
The "swagger" interactive page (most annoying way to display an API doc, by the way) has a section for images, search/images, etc, but no video search or video (using video id).
the v3 API release notes states that they now have support for video search and download. Where?
Thanks to anyone that can lend a hand here, this is probably the most confusing API I've ever encountered.
Thank you!
sorry it's taken so long answer your question! At the time you posted, I don't think we had our video-specific search and download endpoints up. They are there now, though they're still in beta. Should be that way for a couple more weeks.
https://connect.gettyimages.com/swagger/ui/index.html#!/Search
Searching for "video" via the image search endpoints will not give you video files.
Thanks,
Matt
Getty Images API operations

Can you use the Vimeo API to return videos uploaded by region or liked by region?

Does anyone know if it's possible to use the Vimeo API to return videos based on where in the world the video was upload from or alternatively where in the world the video has been liked from? Does Vimeo store any location specific information? Any help on this would be awesome!
Don't think so. Vimeo currently doesn't expose any geolocation data via their api. Can't say whether or not they're tracking it internally on their backend.
They did just launch a new help page:
https://vimeo.com/help/contact
Might be worth messaging through that site to confirm.

Custom Twitter Pictures in stream

There are multiple servies that let you insert pictures and videos into the twitter stream. - with instagram and youtube being two of the first that come to mind.
The question is - how do I do that?
If I want a custom image, and I want to link them back to my site - do I have to use the /statuses/update_with_media.json endpoint (which adds it to pics.twitter.com) along with my own link? Meaning two links?
Is there a trick to how these sites do it, or are they officially supported by Twitter?
To play "in-line" on Twitter.com. Only a select few services will allow this.
in case of videos for example, refer to this article on Twitters website.
https://support.twitter.com/groups/31-twitter-basics/topics/109-tweets-messages/articles/75603-how-to-post-videos-on-twitter
You would need two links if you wanted to host a picture on Twitter itself and have it link to another place. The pictures hyper-link would be converted and another link would need to be added next to it.
more:
How do I add an image to a tweet or how does twitter decide which image urls to render
Is there a public API or meta data to integrate with Twitter new media system?
(PS great CI articles, thanks for all your help! :)

Fetching owner-uploaded or user-uploaded photos from Google Maps

I would like to fetch user-uploaded or owner-uploaded photos of locations using some Google API.
For example:
In this place: http://g.co/maps/pxbse , you can see an owner-uploaded photo of this place in the place's popup window on the map. Additionally, if you click on this photo, you'll be taken to a more detailed page about this place where you can see a list of photos uploaded either by the owner or other google users.
Is there any way to fetch these photos by using the Google Maps API?
(Please note: I have checked out Panoramio and Google Street View API and these do not suit my needs)
There is no way to get that photo at this point. The Google Places API does not support retrieving the photo.
What you're looking at is a Google Place. You would access this data using the Google Places API.
Update: You're right. The API mentions an icon URL that's included in a place details response, but doesn't seem to indicate all the owner uploaded images.
What I recommend is attending the Google Maps API office hours on May 1, 2012 at 13:00 Pacific Time. There is a Google Moderator set up to post questions before hand. You can attend the hangout using Google Plus (make sure to follow +Google Maps API) or they stream them to YouTube live.