Please recommend an image sharing service that can be called programmatically to upload a photo. I want to use the returned response and post a link to that photo or album in a Facebook message on wall.
The problem is that Facebook doesn't allow to use an uploaded photo within Facebook to be used in the wall message whereas external domains are allowed.
Can flickr be used? I don't want the users to login to flickr though.
Have you tried Imgur? http://api.imgur.com/
Related
I created a coordinates website that shows different information about a location. I pull this information from API's.
One of the things I show on the website are location photos that I pull from Google Places API.
Now I've received an e-mail from a professional photographer who says I'm infringing on his copyrights by showing the photo on my page. I've told him I pull the photo from Google Places and that he should contact Google if he doesn't want his photo on sites.
His reply is that I as website owner are responsible for the content and that Google has nothing to do with it. I find this very hard to believe...
What do you guys think? Any advice? Can ask Google for help?
The Google Places API has this to say about attribution:
Photos returned by the Photo service are sourced from a variety of locations, including business owners and Google+ users contributed photos. In most cases, these photos can be used without attribution, or will have the required attribution included as a part of the image. However, if the returned photo element includes a value in the html_attributions field, you will have to include the additional attribution in your application wherever you display the image.
Did the photo in question have anything in the html_attributions field? If not, then you're correct that the owner needs to talk to Google. If it does and you didn't display it, then you are in breach of copyright.
Is it possible to have a twitter button that a user can select on a web page and have it populated with an image and a tweet. Then provided they are already logged in, allow them to tweet it?
I know there are various libraries around for doing this to your own twitter account, but I want to let the user preview the image then tweet it.
I can get the user to tweet a phrase, and a link to an image, but I want them to have the image embedded in their tweet.
I have managed to write some back end code to authorise ourselves and push an image up to the upload end point, and extract a media_id for it for us to use. And I was hoping I could use this media_id somehow with the tweet button, but it doesn't seem to allow this.
Is it worth keeping with this idea, or is it not actually possible?
I am currently trying to generate a url to link to a public Google Photos gallery. I am aware from some research that all calls regarding Google Photos go through the Picasa API. So, by running file_get_contents on the following URL, I have retrieved a full listing of all public albums on my user account
http://picasaweb.google.com/data/feed/api/user/<USERNAME>?alt=json&kind=album&hl=en_US
This works perfectly and includes links to the gallery in Picasa. However, I would much prefer to be able to generate a link to the corresponding Google Photos gallery. On sharing Google photos, a shortened url is generated, like
https://goo.gl/photos/code
I was wondering if there was any possible way, given the album ID from the API call that such a link could be generated
Previous questions on this subject haven't generated much response unfortunately - is anyone aware of any such Google link generation capability?
I have a twitter share button on a webpage. I have submitted my website for twitter cards, and it is approved. I am using the twitter card tags correctly, but I have troubles to get the images appear on the time-line. On the twitter timeline I only see text and the URL. Only when clicking on the tweet, an image appears below (the tweet expands).
I would like to have this image appear on the timeline, without needing to expand the tweet. Is this possible, or am is it necessary to use a service like twitpic or flickr to make this happen?
My first thought is that this is not possible because twitter only accepts certain image websites to publish their images on the twitter timeline, but I cannot find a twitter dev source that confirms this.
This is the normal behaviour for the twitter card.
Please read https://dev.twitter.com/cards/troubleshooting#timeline
The second point of the troubleshooting might be the solution you're looking for: "For photos and animated GIFs, upload the media directly with the Tweet or consider using the Twitter API to upload media." You can also explore the other solutions offered.
UPDATE: It looks like the solution I was proposing refers to sharing content directly from twitter, so it's not an option. See this twitter community thread
My iPhone app uploads pictures to the user's Facebook account, and they are automatically placed in the app's photo album on Facebook.
In the majority case, the user's wall is also automatically updated to denote that the photo was recently updated. But I dont want this, because I prefer to make a separate wall post with a link to the photo. It's silly for the user's wall to have two entries on it with a thumbnail of the same image.
1) how can I upload the photo using the graph API in such a way that it isn't announced on the user's wall
2) how can I tell if the photo upload resulted in an announcement on the user's wall -- sometimes it doesn't. I'd rather not have to ask for permissions to read the user's wall..
From this Facebook Doc:
If you would like to suppress the story that is automatically generated in the user's feed when you publish a photo (usually because you plan on generating your own), you can add a no_story=1 parameter. In this case, the user will receive a notification that your application has uploaded a photo.