CallParty | http://callparty.org
kandi X-RAY | CallParty Summary
kandi X-RAY | CallParty Summary
CallParty is a FB Messenger bot to send calls to action for political issues, link to the specific reps to call, and updates on the issues that have been sent. To do this we’ve built an admin tool to input the calls to action, and segment messages to users based on the party or committee of their rep, and by the district the user lives in. You can sign up for CallParty here
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of CallParty
CallParty Key Features
CallParty Examples and Code Snippets
Community Discussions
Trending Discussions on CallParty
QUESTION
The messenger Send API gives me back the response (#546) The type of file you're trying to attach isn't allowed. Please try again with a different format. error code: 546, error_subcode: 154502
However, if I host the same exact image on Google Cloud instead of Amazon S3, then the image sends fine.
My link to the AWS image: https://s3.amazonaws.com/paloma-staging-public/files/conversation-step-56-80925.gif
My link to the google cloud image: https://storage.googleapis.com/callparty/thumbsup.gif
are there any special reasons that a link to an image stored on S3 would not work as an image attachment, but a link to an image stored on google cloud would work?
...ANSWER
Answered 2017-Sep-25 at 18:37The answer was that for the AWS link the ContentType of the file was not set.
While uploading to S3 I had to manually set the ContentType of the file appropriately ("image/gif", "image/png" etc.) and for the google cloud storage this must have been automatically set.
This is why the S3 link causes an auto-download, and the google cloud link displays the image in the browser.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install CallParty
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page