Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverted type in photo short and full formats are wrong #71

Open
jerryfan2000 opened this issue Mar 28, 2014 · 3 comments
Open

coverted type in photo short and full formats are wrong #71

jerryfan2000 opened this issue Mar 28, 2014 · 3 comments

Comments

@jerryfan2000
Copy link

In doc, it says converted is boolean format. However, it is in fact integer. Since it is an integer, so i am confused how to find out the meaning of a number for it.

converted - Boolean value indicating whether or not this photo has been converted.

And this is what I got from reply: "converted":31.

@jerryfan2000
Copy link
Author

To be specific, i got coverted=(a number) when running get_photos function. I noticed coverted indeed returns boolean in other function.

@jerryfan2000
Copy link
Author

After more careful testing, all API calls that return photo full format have converted returned as integer.

@cdmicacc
Copy link
Contributor

That's correct, converted is actually a bitmask. I'll look into getting the docs updated for it. Thanks!

vachi referenced this issue in vachi/api-documentation Apr 1, 2015
issue #71, tho i do not know the reason of indicating this in the API, who has a need for this, curious to find out....
vachi referenced this issue in vachi/api-documentation Apr 1, 2015
issue #71, tho i do not know the reason of indicating this in the API, who has a need for this, curious to find out....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants