回答編集履歴
1
アカウントキー作成変更
    
        answer	
    CHANGED
    
    | @@ -8,17 +8,14 @@ | |
| 8 8 | 
             
             * @param tweetId {String} - ツイートの ID。
         | 
| 9 9 | 
             
             */
         | 
| 10 10 | 
             
            function TDDestroyStatus(accountKey, tweetId) {
         | 
| 11 | 
            +
                var account = {
         | 
| 12 | 
            +
                    getKey: function () {
         | 
| 13 | 
            +
                        return "twitter:" + accountKey;
         | 
| 14 | 
            +
                    },
         | 
| 15 | 
            +
                };
         | 
| 11 16 | 
             
                TD.services.TwitterStatus.prototype._action.call({
         | 
| 12 | 
            -
                    account:  | 
| 17 | 
            +
                    account: account,
         | 
| 13 | 
            -
                        getKey: function () {
         | 
| 14 | 
            -
                            return "twitter:" + accountKey,
         | 
| 15 | 
            -
                        },
         | 
| 16 | 
            -
                    },
         | 
| 17 | 
            -
                    creatorAccount:  | 
| 18 | 
            +
                    creatorAccount: account,
         | 
| 18 | 
            -
                        getKey: function () {
         | 
| 19 | 
            -
                            return "twitter:" + accountKey,
         | 
| 20 | 
            -
                        },
         | 
| 21 | 
            -
                    },
         | 
| 22 19 | 
             
                    id: tweetId,
         | 
| 23 20 | 
             
                }, "delete");
         | 
| 24 21 | 
             
            }
         | 
