我正在创建一个名为pid或persianid的facebook应用程序。当我尝试从Facebook Graph API读取内容时,我收到以下错误:
Warning: file_get_contents(https://graph.facebook.com/me?access_token=) [function.file-get-contents]: **failed to open stream: Connection refused**
从Facebook请求访问令牌时也会发生此错误。当我在不使用@的情况下使用file_get_content时,它显示相同的内容:
**failed to
我正在尝试使用CSOM和Azure应用程序访问Microsoft Office 365 Planner。每当我尝试使用组Id访问planner时,我都会得到以下错误: 401 -未授权:由于凭据无效,访问被拒绝。您没有使用您提供的凭据查看此目录或页面的权限。 我已为Azure Graph api提供了所需的权限。Application - Read Groups All、Read and Write Groups All。Delegated - Tasks.ReadWrite 下面是我使用的示例代码: //Querying plans in current group await
grap
当我调用Your access token has expired. Please renew it before submitting the request.端点时,我将得到https://graph.windows.net/myorganization/oauth2PermissionGrants?api-version=1.5。
为了避免任何愚蠢的问题--是的,我知道建议使用Microsoft Graph而不是Azure AD Graph。我知道而且我在用它。但是对于我目前的情况,我需要准确地请求Azure AD Graph。
测试用例:
我成功地登录了https://login.
我在Azure目录中注册了一个应用程序作为单个租户应用程序,根据Integration Assistant的说法,没有错误/警告。然而,当我尝试使用Graph Api客户端发送邮件时,我遇到了两个问题之一,这取决于我调用它的方式。 App.ts import AppAuthProvider from './AppAuthProvider';
import { Client } from '@microsoft/microsoft-graph-client';
import cookieParser from 'cookie-parser';
i