voideex / RbxPHP

5 stars 5 forks source link

uploadasset.php does not return asset version, only asset id #4

Closed mrparkerlol closed 8 years ago

mrparkerlol commented 8 years ago

uploadAsset.php currently only gets the asset's ID, not the AssetID version. ROBLOX might have updated their APIs.

voideex commented 8 years ago

Yeah ROBLOX updated their API few days ago. Adding &json=1 to the upload URL will make it return the assetId as well as it's assetVersionId.

mrparkerlol commented 8 years ago

I think you should add that because people inexperienced with php or the ROBLOX api might not be able to figure this one out.

Thanks for the tip I will definitely add this to the script.

On Sunday, November 1, 2015, Voidacity notifications@github.com wrote:

Yeah ROBLOX updated their API few days ago. Adding &json=1 to the upload URL will make it return the assetId as well as it's assetVersionId.

— Reply to this email directly or view it on GitHub https://github.com/Voidacity/RbxPHP/issues/4#issuecomment-152846949.