June 26th, 2017, 04:01 PM
|
#16
|
Vintage Member
Join Date: Apr 2011
Location: Tulsa
Posts: 23,168
Thanks: 610
Thanked 275,221 Times in 23,048 Posts
|
Quote:
Originally Posted by retroanalyst
That's all nice, but the Pixhost API guarantees only that the gallery hash is a string, not what length it has. Thus, storing it in a fixed-length datatype record is asking for trouble.
While I was looking closer at the API, I wondered why there are two different hashes in the first place and why they don't use a single long hash. Must be because they want to allow sharing galleries via Twitter, so the URL had better be short.
|
Based on what I can tell they only allow you to add images to a gallery for 24 hours, or until the gallery has been 'finalized'. Not sure why they need 2 hash strings for it, considering the upload hash is much larger.
__________________
My posts are scripted, sorry if the preview images aren't great, but the whole gallery is in the link To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
If I post any duplicates, please PM me and I will remove them
|
|
|