Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2241] Ti.Facebook: Support likechange event

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusResolved
ResolutionWon't Fix
Resolution Date2017-05-08T18:32:40.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsFacebook
Labelsandroid, ios, ti.facebook
ReporterHans Knöchel
AssigneeHans Knöchel
Created2016-04-11T12:52:49.000+0000
Updated2017-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

  1. 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();
       
  2. 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]
  3. 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.
  4. Hans Knöchel 2017-05-08

    Resolving as Won't Fix until Facebook supports this officially.

JSON Source