{ "id": "163734", "key": "AC-4530", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-10-05T07:25:52.000+0000", "created": "2016-10-05T06:34:56.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-10-06T05:59:36.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Running the code below:\r\n\r\nvar fb1 = require(\"facebook\");\r\nfb1.initialize();\r\nfb1.presentShareDialog({\r\n link: 'http://www.google.com',\r\n name: 'My Score: ' + Ti.App.Properties.getString('userPoints'),\r\n description: 'Jira Debug',\r\n picture: f.nativePath,\r\n mode: fb1.SHARE_DIALOG_MODE_AUTOMATIC\r\n });\r\n\r\nnothing happens.", "attachment": [], "flagged": false, "summary": "Facebook presentShareDialog doesn't work", "creator": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\nTitanium CLI\r\n CLI Version = 5.0.9\r\nTitanium SDK\r\n SDK Version = 5.5.1.GA\r\n SDK Path = /Users/braindoo/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA\r\n Target Platform = android", "comment": { "comments": [ { "id": "398105", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "You need to either check if the app is installed using {{canPresentShareDialog()}} and adjust the present-mode accordingly, e.g. one of [these|https://github.com/appcelerator-modules/ti.facebook/blob/master/apidoc/Facebook.yml#L1202].", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-05T07:25:52.000+0000", "updated": "2016-10-05T07:25:52.000+0000" }, { "id": "398204", "author": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "body": " - name: canPresentShareDialog\r\n summary: Checks if the device can support the use of the Facebook Share dialog from the Facebook App.\r\n type: Boolean\r\n since: 4.0.0\r\n permission: read-only\r\n deprecated:\r\n since: 5.0.0\r\n removed: 5.0.0\r\n\r\nI'm using facebook module 5.2.0, so I can't check anything since canPresentShareDialog is removed. What alternative present-mode may i use?\r\ntks", "updateAuthor": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-06T05:16:09.000+0000", "updated": "2016-10-06T05:16:09.000+0000" }, { "id": "398205", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Sorry, sure. You can just check if the url fb:// is available or set the mode to browser.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-06T05:59:36.000+0000", "updated": "2016-10-06T05:59:36.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }