ArticleDirectory
Zheng Yi 20090906
Introduction
Saying that ye tiankang suddenly came up with a saying, "@ zhengyun, how can I gather a Twitpic list ?"
First, Twitpic does not seem to provide the trend and board functions. Second, most Twitter users use Twitpic for Image Sharing. Although Flickr also provides the Twitter API, there are also Flic. KR short domain name, but at least for Weibo Chinese users, using Flickr is risky, so use less.
The popular memetracker websites Reddit and tweetmeme both provide viewing by domain, so we can see what images are being spread on Twitter from this perspective:
- Reddit: The http://www.reddit.com/domain/twitpic.com;
- Tweetmeme: http://tweetmeme.com/domain/twitpic.com/style/day;
However, first, they cannot let you only look at the pictures sent by Chinese people. Second, it is just Twitpic.
I thought about it. It is actually easy to do this, but only monitoring the Twitpic graph has limitations.
So, a little extended. After a few hours, the current playlist pp service can support
The image address is monitored to find out the heat maps with the most popular or comments and list the thumbnails.
Popular photos
I call it"Popular photos (in Twitter)", The current host of the promotion is Twitter. It may not be necessary in the future to monitor other microblog services or social media.
The interface is as follows:
It provides the latest/random/most popular sorting browsing methods in near real time, and can also:
- Show the words of the first picture transmitter;
- Display thumbnails;
- Click "view comments" to asynchronously display all the monitored comments/retries;
- Provides heat map propagation snapshots, such as Yahoo! On the bib! It is the people's daily building where no word is used.
The number of people participating in the comments/Forwarding is sufficient.
How to obtain thumbnails
Twitpic is easier because it has a clear rule: http://twitpic.com/show/<Size>/<Image-ID>
For example, if you get the final access page url like http://twitpic.com/gu9z6, then the 150x150 thumbnail address is:
Http://twitpic.com/show/thumb/gu9z6.
It may be a little more troublesome to use Flickr. You need to call the API getsizes to obtain the real thumbnail link address:
Flickr. Photos. getsizes
Returns the available sizes for a photo. The Calling user must have permission to view the photo.
For example, Yahoo! The image address in the taboo is:
Http://www.flickr.com/photos/fenng/3895118312/
In this case, 3895118312 is photo-id. Find a Flickr API package library that you are familiar with the development language, submit this ID to the getsizes method, and specify the size as small, you will get:
Http://farm4.static.flickr.com/3420/3895118312_5e04bb396e_m.jpg
.
For the meanings of the thumbnail address, Flickr provides an explanation:
Http: // farm {farm-ID} .static.flickr.com/?server-id=/?id=_?secret=_?mstb=.jpg
The suffix mstb indicates the following:
- S: Small Square 75x75
- T: scale down an image. The longest side is 100.
- M: small, with the longest side of 240
- B: The maximum side is 1024.
- O: The Source image format can be JPG, GIF, or PNG.
Example:
- Http://farm4.static.flickr.com/3420/3895118312_5e04bb396e_m.jpg farm-ID: 4
- Server-ID: 3420
- Photo-ID: 3895118312
- Secret: 5e04bbw.e
- Size: M.
Zheng @ playpoly pp Beijing report 20090906
We also recommend that you read my recent articles:
1. Four models of social media value-added development: 20090831;
2. analyzer's network track and fragmentation model: 20090830;
3. 20090903 of the five techniques for finding experts from the massive data volumes of social media;
4. The four modes of the social media sorting algorithm are 20090905.