{ "id": "154921", "key": "MOD-2200", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17723", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-05-26T07:28:51.000+0000", "created": "2016-02-15T11:58:35.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "AppInvites", "facebookSDK", "qe-5.4.0" ], "versions": [], "issuelinks": [ { "id": "51786", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "160391", "key": "TIMOB-23424", "fields": { "summary": "Android: Support Facebook App Invites", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-07-27T17:15:28.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": [ { "id": "14521", "name": "Facebook" } ], "description": "I am aiming to get a list of a users friends in order to invite them to use our app but this is no longer possible in Graph API v2.0. The user/friends endpoint now only returns friends who also use the app.\r\n\r\nThis is a design decision from Facebook and so the Titanium documented route of using presentSendRequestDialog is no longer possible for this purpose.\r\n\r\nFacebook instead now forward me to use their new service 'App Invites', however I don't believe that this has been incorporated into the Titanium module yet.\r\n\r\nLinks:\r\n\r\nFacebook - Deprecating friends permissions: https://developers.facebook.com/docs/apps/faq#friends_list\r\n\r\nFacebook - How can I now invite my friends: https://developers.facebook.com/docs/apps/faq#friend_invite\r\n\r\nFacebook - App Invites main documentation: \r\nhttps://developers.facebook.com/docs/app-invites\r\n\r\nThanks\r\n\r\n ", "attachment": [], "flagged": false, "summary": "iOS: Support Facebook App Invites", "creator": { "name": "martz256", "key": "martz256", "displayName": "Martyn Joyce", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "martz256", "key": "martz256", "displayName": "Martyn Joyce", "active": true, "timeZone": "Europe/London" }, "environment": "Facebook module 5.0.0", "closedSprints": [ { "id": 631, "state": "closed", "name": "2016 Sprint 11 SDK", "startDate": "2016-05-21T00:06:10.029Z", "endDate": "2016-06-04T00:06:00.000Z", "completeDate": "2016-06-06T07:30:39.854Z", "originBoardId": 114 }, { "id": 585, "state": "closed", "name": "2016 Sprint 5 SDK", "startDate": "2016-02-27T01:30:43.377Z", "endDate": "2016-03-12T01:30:00.000Z", "completeDate": "2016-03-14T11:50:17.995Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "377640", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nThis is an interesting feature request. With this feature anyone can integrate App Invites into their app in place where people want to invite friends to your app. When the person taps the Invite button, the feature can trigger the flow to send invites.\r\n\r\nYou need to know that the new feature request is a lengthy process and it takes time release a version of the feature. The request needs to be pass by the deciding committee before it moves to developing phase. Currently, we have pending requests in out pipeline. \r\n\r\nWe will let you know if and when we will release the version with the feature. \r\n\r\nThanks.\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-02-23T14:23:02.000+0000", "updated": "2016-02-23T14:23:02.000+0000" }, { "id": "377670", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~martz256] Just added the dialog as part of https://github.com/appcelerator-modules/ti.facebook/pull/43, you can test it already if you want:\r\n{code:javascript}\r\nfb.presentInviteDialog({\r\n appLink: \"https://www.mydomain.com/myapplink\",\r\n appPreviewImageLink: \"https://www.mydomain.com/my_invite_image.jpg\"\r\n});\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-23T21:11:54.000+0000", "updated": "2016-02-23T21:16:29.000+0000" }, { "id": "379438", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-03-10T11:25:01.000+0000", "updated": "2016-03-10T11:25:01.000+0000" }, { "id": "386451", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Reopening issue, since I did something wrong with the event naming handling caused by [this commit|https://github.com/appcelerator-modules/ti.facebook/pull/43/commits/0a64db8cc9ab2f80b8995b76cd14ce6da05f1c64]. Resulting from that, all events (share/invite/gamerequest) are delivered in the \"requestDialogCompleted\" event, which is incorrect. Fix on it's way.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-23T14:06:21.000+0000", "updated": "2016-05-23T14:06:21.000+0000" }, { "id": "386453", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator-modules/ti.facebook/pull/54", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-23T14:12:23.000+0000", "updated": "2016-05-23T14:12:23.000+0000" }, { "id": "386869", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR Approved and merged. [~hansknoechel] please remember to do a PR with the new packaged Facebook module, after the android PR is merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-26T07:28:38.000+0000", "updated": "2016-05-26T07:28:38.000+0000" }, { "id": "391692", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, I was able to send an App Invite through Facebook using the latest Facebook Module. However bear in mind that App Invites won't be received by the recipient unless the app itself is published. \r\n\r\n\r\nTested On:\r\niPhone 6S (9.3.2) Device \r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160725003348\r\nAppc Studio: 4.7.0.201607111053\r\nAppc NPM: 4.2.7\t\r\nApp CLI: 5.4.0-34\r\nXcode 7.3\r\nNode v4.4.7\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-07-27T17:15:16.000+0000", "updated": "2016-07-27T17:15:16.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }