{ "id": "63073", "key": "TIMOB-2441", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-08T23:20:34.000+0000", "created": "2011-04-15T03:19:55.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-08T23:20:34.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Currently the Ti.Facebook.execute parameter \"method\" can only\r\ntake Old REST API method names. Suggest that new method names\r\n(besides \"me\" already supported are allowed).

\r\n

The codessnippet below from FBRequest.java shows why only \"me\"\r\nwould use the Graph API method. Suggest allowing any Graph call

\r\n
\r\n    private String urlForMethod(String method) {\r\n        String cleanMethod = method.replace(\"facebook.\", \"\");\r\n        if (isSpecialMethod()) {\r\n            return mSession.getApiSecureURL() + cleanMethod ;\r\n        } else if (method == \"me\") {\r\n            return mSession.getGraphApiSecureURL() + method;\r\n        } else if (FacebookModule.usingOauth ){\r\n            return mSession.getApiSecureURL() + cleanMethod;\r\n        } else {\r\n            return mSession.getApiURL() + cleanMethod;\r\n        }\r\n    }\r\n
{html}", "attachment": [], "flagged": false, "summary": "Android: Ability to use Graph API calls for Ti.Facebook.execute", "creator": { "name": "danielarroyo", "key": "danielarroyo", "displayName": "Daniel Arroyo", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "danielarroyo", "key": "danielarroyo", "displayName": "Daniel Arroyo", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "421573", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as there has been no input for the last 6 years. Any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-08T23:20:34.000+0000", "updated": "2017-06-08T23:20:34.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }