创建事件注册重复事件

时间:2018-11-29 15:51:02

标签: php microsoft-graph

我正在尝试使用Microsoft Graph API来读取/创建Outlook议程中的事件。问题是当我尝试根据文档(https://docs.microsoft.com/fr-fr/graph/api/user-post-events?view=graph-rest-1.0)创建事件时,该事件在我的日历中创建了两次 Event "Meeting time" appearing twice

这是我的PHP代码:

package com.dealmachine;

import com.facebook.react.ReactActivity;
import io.branch.rnbranch.*;
import android.content.Intent;

public class MainActivity extends ReactActivity {

    @Override
    public void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        MainApplication.getCallbackManager().onActivityResult(requestCode, resultCode, data);
    }
    /**
     * Returns the name of the main component registered from JavaScript.
     * This is used to schedule rendering of the component.
     */
    @Override
    protected String getMainComponentName() {
        return "DealMachine";
    }

    // Override onStart, onNewIntent:
    @Override
    protected void onStart() {
        super.onStart();
        RNBranchModule.initSession(getIntent().getData(), this);
    }

    @Override
    public void onNewIntent(Intent intent) {
        setIntent(intent);
    }
}

我尝试使用PHP Microsoft Graph库,结果是相同的。但是,当我使用Graph Explorer时,创建的事件不会重复。我想我错过了什么。

0 个答案:

没有答案