Facebook sends very compressed image in messenger webhook - facebook

In my bot i use Facebook Send Api
I need get image send by user via facebook messenger (from message.attachments[0].payload.url )
But in web version and messenger app I gets VERY different compression
Image in web version
Image in webhook
But it is very compressed and this is a big problem.
Is there any way to get an original or a better-quality image?

Related

Broadcast Live Session From Website via WebRTC To Ant Media Server And Then To Facebook Live

I'm building a web app that lets users start a live broadcast by:
Going to our website & login with Facebook with the permissions to create live videos
Click on the "Start Live Video" button on our website.
That will create a new FB Live stream using Facebook API and an RTMPS URL will be returned
The user starts their live broadcast. We capture video on our website and push the video stream to Ant Media Server using WebRTC.
We then want Ant Media Server to rebroadcast the live broadcast to the RTMPS URL we'll provide it so that the broadcast will be sent to Facebook Live
We've managed to do steps 1-4 but we're having trouble with (5). Does anyone have any experience with this?
Thanks a lot.
Charles Tang

Facebook Graph API and sharing video on Android having issues showing video

We are using Latest Android SDK and using graph API we are sharing Videos and Images. All are working correctly on all phones except Samsung Galaxy 6 and that also when logged in through one facebook account, if I log out and login with another account then it is working fine. Sharing an Image is not having any issues, when video is shared on facebook using Graph API, we are getting success callback without any error, but after few seconds Facebook App is showing error message as shown in screenshot.
It seems to be some bug with facebook API as it is returning success whereas video is not getting shared, we are confused because on same phone when we login using different FB account and share it worked.

Latest Facebook Graph API changes and image uploads

I have an Adobe AIR kiosk based (multiple users)application that requires Facebook image upload functionality. This was achievable before by forcing a logout after each image upload.
But now Facebook's latest SDK uses a Safari view for login:
https://developers.facebook.com/blog/post/2015/10/29/Facebook-Login-iOS9/
so I don't think this is possible.
Can anyone confirm this? For kiosk based(multiple-user) applications that require Facebook image uploads, what are the options now?

Does Social Media Website like facebook,Instagram, Foursquare and Youtube provide Real time notification when content deleted from these website

I am working on social media website and putting there real time updates in our database. But problem is when user delete the image or vedio from instagram or other social media website then we are unable to show these content because we dont save image or vidio on our server.
We can handle this problem by handle if we are able to remove content from our server when user would delete data from social media website.For this we need callback notification to delete this content from our server too.
My question is does facebook,Instagram, Foursquare and Youtube support realtime notification when user delete own data on these social websites.

Facebook Feed Dialog - Can we use the application logo as the image?

I'm using the Facebook Feed Dialog to promote simple sharing on my website.
There is an option for the "picture" in the post (URL).
Is there a way i can use the existing logo in my Facebook application as the image?
For example is there a way i can programatically create a URL to my Facebook application logo? (using the application ID).
You can do this with https://graph.facebook.com/APP_ID
And then fetch the logo_url.
Edit: Just wanted to add that obviously apps in sandbox mode require access token to recognize you as admin/tester.
You can't use that logo in your feed dialog, since its saved in the facebook server. (facebook don't allow that)
The straight-forward solution is - use the image from your server.