Jump to content

Youjun Lee

Trialing
  • Posts

    4
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by Youjun Lee

  1. But the authorized user is administator. Can you plz tell me where can I give permission to create topic in the forum? Stuart Silvester
  2. I allow permission in the scope, but i got the error below Is there anything should I check more? { "errorCode": "2F294\/C", "errorMessage": "NO_PERMISSION" }
  3. I've got issue to get access token. Above capture image is my redirectURL and I use curl to get accesstoken. <?php $CLIENT_ID = "d90XXXXXXXXXXXXXX"; $REDIRECT_URI = "http://localhost:8080/callback.php"; $TOKEN_API_URL = "https://XXXXXXXX.invisionservice.com/oauth/token/"; $code = $_GET["code"]; $params = sprintf( 'grant_type=authorization_code&client_id=%s&redirect_uri=%s&code=%s', $CLIENT_ID, $REDIRECT_URI, $code); $opts = array( CURLOPT_URL => $TOKEN_API_URL, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSLVERSION => 1, // TLS CURLOPT_POST => true, CURLOPT_POSTFIELDS => $params, CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false ); $curlSession = curl_init(); curl_setopt_array($curlSession, $opts); $accessTokenJson = curl_exec($curlSession); curl_close($curlSession); print_r($accessTokenJson); ?>
×
×
  • Create New...