-
Notifications
You must be signed in to change notification settings - Fork 75
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
\\PSN\Messaging->GetAttachment assumes JPEG #4
Comments
Honestly, most likely not. However, JB was the one who implemented this so he might be able to give a better response. I assume there's a check in the actual API that only allows the JPG format. |
The default option is JPG - however I'll tweak the code today to look for the correct file extension (and set the file type/mime type accordingly). |
Can't get it to work for some reason. echo $message->GetImageAttachment($_GET['id'], $message->messageUid); $_GET['id'] equals ~1280FCA18BE92710.7DB2A519183242AD |
@TechPulse is it trying to return any data at all? Or is it a flat out error? |
I figured out how to get text of last text message. I do it like this: $obj_vars = get_object_vars($messages->GetAll()); Could you please explain how to get attachement of the last image message? |
It is possible for the image to be a PNG instead of a JPG, and will fail if these images are mismatched.
The text was updated successfully, but these errors were encountered: