LinkedIn & Twitter, Share website image through URL - twitter

Following sample URLs helping me to share images to Facebook, GooglePlus and Pinterest:
GooglePlus: https://plus.google.com/share?url=https://www.google.co.in/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png
Facebook: https://www.facebook.com/sharer.php?u=https://www.google.co.in/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png
Pinterest: https://in.pinterest.com/pin/create/button/?url=&media=https://www.google.co.in/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png
Like this, I curious to know, is any Twitter and LinkedIn URL formats that allow image sharing(with just an image URL)...
Thanks!

Twitter...
https://twitter.com/intent/tweet?url={url}&text={title}&via={user_id}&hashtags={hash_tags}
Source: Official Twitter Share URL Documentation.
Linkedin...
https://www.linkedin.com/sharing/share-offsite/?url={url}
Source: Official LinkedIn Share Documentation
Want to be able to customize the preview of your page, for title, description, image, etc.? Then check out the necessary og: tags. Here's LinkedIn documentation for it, but the same documentation applies mostly to all services.
Source: Open Graph Tags Documentation from LinkedIn.

Related

Share link on Instagram from my website in rails

How can i share a link and photo with Instagram using rails..
Is it possible to post pictures to Instagram via the API
It would be helpful if there is some way to do this.
Instagram API documentation is what you should be looking into, but it's mostly for retrieving data from Instagram. It will not allow you to post something, only Instagram Partners can do that.
More on that here: https://developers.facebook.com/docs/instagram-api/content-publishing/

iOS SDK for logging to Social Media like Facebook, Twitter, linkedin,google +?

I am developing new iPhone app in which i have provide users a option to login to application using Facebook,twitter,linked in and Google+.
Can some please let me know do we have any single API/sdk which supports all the social Media because its easy to implement and will not be confused with using different API/sdk's.
Thanks,
Kishore
I think you can use it, ''mob'' offers services in China.
It integrates the world's leading social media, including Facebook Google+ Twitter ...
To give you a link, it supports English enter link description here
But I do use Facebook, Twitter to login is very simple, official API written in great detail.

Is there a public API or meta data to integrate with Twitter new media system?

Now that twitter is on a media rampage you can see on twitter pictures and youtube videos directly imported from a few sites.
Twitpic also has a full integration with Twitter.
My question is : Are there some metatags that I can add so that Twitter pick up the pictures from my site ? A special declaration to make somewhere ? I wasn't able to find any documentation and I'm afraid this is only a special integration with authorized partners.
I would normally flag this as a dupe, but since I recently discovered two questions regarding this topic instead of one. I'll add them below . .
How do I add an image to a tweet or how does twitter decide which image urls to render
Display media in tweet via API?
. . also Twitter is releasing an API related to the images, however it's not out yet.
https://support.twitter.com/articles/20156423

Twitter share photo feature for iOS

I currently have an iOS app with facebook integration that allows users to post their photos to facebook.
I want to add twitter integration as well, but I couldn't find any information about it. I read somewhere that it's now possible to upload photos directly to twitter, without an external site, such as twitpic.
Does twitter provide an iOS API in the same manner that facebook provides their APIs?
I looked over ShareKit, but it has tons of features that I don't need and the workflow of uploading a photo is customized in my app. Worst case, I'll copy-paste some code from ShareKit, but I'm not sure it even has the ability to share a photo to twitter.
Twitter doesn't provide it's own photo sharing API. You have to upload your photos somewhere (on your own server, twitpic, etc.) and get the link and post the photo's link along with the tweet text.
I haven't used twitpic before but it looks like they have their own API that you can check out here.
If you're uploading them to your own server, you should use bit.ly's api to shorten the URL's of the photo links to provide more tweet text space. Info on bit.ly's API is here.

How can I EMBED rather than upload photos to Twitter?

I've noticed that some recent tweets have media associated with them, for example photos from TwitPic or Flickr and videos from Youtube. You can see them on the Twitter website directly, so it's more than just a link. My thinking is that Twitter has formed these partnerships with these select suppliers of media, being Flickr, Twitpic and such.
I'm looking to automate some tweeting from an image gallery. Yet, I do not wish to upload these photos to another place. I want to host them myself and then embed/refer to them from a tweet. Yet, they should also be seen inline.
Is such a thing possible?
2017 edit: Looks like you can get a media_id via POST media/upload and then pass the id into POST statuses/update.
2014 edit: You can add media to tweets using POST statuses/update_with_media.
Original 2011 answer: No, you can't embed media into a tweet, nor can you upload photos to Twitter.
The "embedded" media you see is just Twitter scraping the URL for the photo or video, and showing it directly within Twitter, saving users from needing to click on the link to view the media. And Twitter only scrapes media for certain popular sites.
If you want Twitter.com users to see your images inline, you'll need to upload images to one of the popular image sites you mentioned, and have its URL in your tweet.
If you still want to drive traffic to your site, you could also include your gallery's URL within the same tweet.
But keep in mind that not everyone uses Twitter via Twitter.com; there are a plethora of Twitter clients available, and I doubt many feature inline media scraping.
I'd suggest just linking to your gallery/images, and not worry about uploading them elsewhere.
You can do all this and more. (and Twitter DOES allow you to upload images). Look at the documentation for Twitter cards.
https://dev.twitter.com/docs/cards

Resources