[MOD-2241] Ti.Facebook: Support likechange event
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Resolved |
Resolution | Won't Fix |
Resolution Date | 2017-05-08T18:32:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | |
Labels | android, ios, ti.facebook |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2016-04-11T12:52:49.000+0000 |
Updated | 2017-05-08T18:32:41.000+0000 |
Description
This community PR adds support for likechange events: https://github.com/appcelerator-modules/ti.facebook/pull/27. We take care of the review. *EDIT*: The community PR was rejected due to missing developer support. This feature is *not* implemented, yet.Comments
- Hans Knöchel 2016-04-24
Demo:
var win = Ti.UI.createWindow({ backgroundColor : "#fff" }); var fb = require("facebook"); var likeButton = fb.createLikeButton({ height: "50%", // Note: on iOS setting Ti.UI.SIZE dimensions prevented the button click width: "50%", objectID: "https://www.facebook.com/appcelerator", // URL or Facebook ID foregroundColor: "white", // A color in Titanium format - see Facebook docs likeViewStyle: 'box_count', // standard, button, box_count - see FB docs auxiliaryViewPosition: 'inline', // bottom, inline, top - see FB docs horizontalAlignment: 'left', // center, left, right - see FB docs, soundEnabled: true // boolean, iOS only }); likeButton.addEventListener("statuschange", function() { Ti.API.warn("The like status changed!"); }); win.add(likeButton); win.open();
- Chee Kiat Ng 2016-04-25 New PR here: https://github.com/appcelerator-modules/ti.facebook/pull/52 Can this ticket be reviewed and resolved? [~hansknoechel] [~apetkov]
- Hans Knöchel 2016-07-26 Putting this out of 6.0.0, since the community contributor who raised the initial PR did not respond to review-problems so far.
- Hans Knöchel 2017-05-08
Resolving as
Won't Fix
until Facebook supports this officially.