{ "id": "122018", "key": "AC-2139", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-11-06T13:52:22.000+0000", "created": "2013-11-04T07:34:15.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "33098", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "122087", "key": "TIMOB-15663", "fields": { "summary": "Android: Cannot require Facebook module inside a CommonJS module", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "If I use require('facebook') then the result is an empty object.\r\nThis happens by embedding of 3.0.0 and 3.0.1 of facebook module. The modules are living in ≈Library/Application Helper/Titanium/modules/android. \r\nTHe issue appears in all versions of module (3.0.0 + 3.0.1)", "attachment": [], "flagged": false, "summary": "Module facebook is empty", "creator": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS 10.5.8, SDK 3.1.3.GA, Android >10\r\n", "comment": { "comments": [ { "id": "277980", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello Reiner, \nare you trying to use Facebook modules with which version of Mobile SDK? Can you provide a test case about this? \n\nBest,\n\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-04T17:39:34.000+0000", "updated": "2013-11-04T17:39:34.000+0000" }, { "id": "277989", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Here you found the test case: https://github.com/AppWerft/Runway-fashionBook/blob/master/Resources/ui/facebook.js", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-04T18:38:11.000+0000", "updated": "2013-11-04T18:38:11.000+0000" }, { "id": "277990", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "after calling of (my) module on console comes:\n\nI/TiAPI (21389): Info: test if facebook object is valide: undefined\nI/TiAPI (21389): Info: user is logged in into facebook, start retrieving image http://familientagebuch.de:80/axel/photo/high/26BP_Ackermann_018.jpg\nI/TiAPI (21389): Info: got image, length: [object TiBlob]\nI/TiAPI (21389): Info: try to post this data: {\"message\":\"TEST MESSAGE\",\"caption\":\"TEST CAPTION\",\"picture\":{\"bubbleParent\":true,\"nativePath\":null,\"type\":2,\"file\":null,\"height\":750,\"length\":101061,\"text\":null,\"width\":500,\"mimeType\":\"image/jpeg\"}}", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-04T18:39:34.000+0000", "updated": "2013-11-04T18:39:34.000+0000" }, { "id": "277992", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\ndid you added it in tiapp.xml? \n\nBest,\n\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-04T18:41:48.000+0000", "updated": "2013-11-04T18:41:48.000+0000" }, { "id": "278022", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Yes, I have hidden the file in github with gitignore. https://gist.github.com/AppWerft/aee7d43b3d08f9a41321 Here you found also the id for login. \r\n\r\nIs there a problem with appid, I have only created an app in facebook. Do I need a type of app (web, android, ios, tab …) ?", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-04T19:44:29.000+0000", "updated": "2013-11-04T19:47:14.000+0000" }, { "id": "278416", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Marking as duplicate of TIMOB-15663", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-06T13:52:22.000+0000", "updated": "2013-11-06T13:52:22.000+0000" }, { "id": "280912", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Closing since it's a dup. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:07:44.000+0000", "updated": "2013-11-24T22:07:44.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }