[MOD-2180] Ti.Facebook: Support messenger API's
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-03-09T17:44:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | |
Labels | android, facebook, ios |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2015-12-15T21:26:04.000+0000 |
Updated | 2018-08-06T17:49:34.000+0000 |
Description
We should support the
FBSDKMessanger
API described [here](https://developers.facebook.com/docs/messenger/overview). Primary features:
- Share to messenger - [Example](https://scontent-frt3-1.xx.fbcdn.net/hphotos-xat1/t39.2178-6/11409205_307418696049199_2060123166_n.png)
- Messenger Button - [Example](https://scontent-frt3-1.xx.fbcdn.net/hphotos-xtp1/t39.2178-6/11405237_1630498610538936_1982804213_n.png)
- URL Handling - [Example](https://scontent-frt3-1.xx.fbcdn.net/hphotos-xfp1/t39.2178-6/11057186_656472024481466_949237797_n.png)
/cc [~msamah], [~cng]
PR: https://github.com/appcelerator-modules/ti.facebook/pull/43 Features: Messenger buttons, messenger send dialog, messenger media share, invite dialog.
Will also include the changes from MOD-2200.
The PR is ready for review, demo:
Make sure to have the tiapp.xml configured properly, like this:
PR (titaniun_mobile/master): https://github.com/appcelerator/titanium_mobile/pull/7820
[~hansknoechel] Reviewed the above demo code, I am able to use all the buttons to send a message to another user, and I am able to share a video file via messenger. However I receive an error message when trying to send a Photo / GIF file:
Can't Send Message: Something went wrong, please try again.
Any idea on what could be causing this? The photo / GIF files appear correctly in the preview window before sending, but fails to send after numerous app / device restarts.Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.