0

I am trying to find out how I can tell if a user has a pro account? This is because I am interested in the upload file size limits for a user which differ based on whether the user has a pro account or not.

I looked on the official API pages of flickr but found nothing. http://www.flickr.com/services/api/

Does anyone know how to retrieve this information?

4

1 回答 1

3

从您引用的文档中,对于flickr.people.getInfo,调用返回,例如:

#                              vvvvvvvvv
<person nsid="12037949754@N01" ispro="0" iconserver="122" iconfarm="1">
    <username>bees</username>
    <realname>Cal Henderson</realname>
        <mbox_sha1sum>eea6cd28e3d0003ab51b0058a684d94980b727ac</mbox_sha1sum>
    <location>Vancouver, Canada</location>
    <photosurl>http://www.flickr.com/photos/bees/</photosurl> 
    <profileurl>http://www.flickr.com/people/bees/</profileurl> 
    <photos>
        <firstdate>1071510391</firstdate>
        <firstdatetaken>1900-09-02 09:11:24</firstdatetaken>
        <count>449</count>
    </photos>
</person>

在“API 方法”/“人员”下的右侧结束。

于 2010-02-08T23:28:18.313 回答