facebook graph api access token error
<p>I'm trying to access facebook marketing api with access_token like this</p>

<pre><code>https://graph.facebook.com/v2.7/me?key=value&amp;amp;access_token=7675848474658758|u0498cm4u85a478c954858784
</code></pre>

<p>Getting error like this</p>

<pre><code>{
   "error": {
      "message": "An active access token must be used to query information about the current user.",
      "type": "OAuthException",
      "code": 2500,
      "fbtrace_id": "rctvrtrtr"
   }
}
</code></pre>

<p>I googled and found that my token is expired. Possible !!</p>

<p>Second, I found this url from google with the description that every time it runs, will get new access token </p>

<pre><code>https://graph.facebook.com/oauth/access_token?             
    client_id=APP_ID&amp;
    client_secret=APP_SECRET&amp;
    grant_type=fb_exchange_token&amp;
    fb_exchange_token=EXISTING_ACCESS_TOKEN 
</code></pre>

<p>This time I got error like this</p>

<pre><code>{
   "error": {
      "message": "Malformed access token EXISTING_ACCESS_TOKEN",
      "type": "OAuthException",
      "code": 190,
      "fbtrace_id": "txdtysyvyt"
   }
}
</code></pre>

<p>Is there any way I request fb graph api with passing app id and secret as access token to get data from facebook with new access token every time? If yes what should I do ?</p>

<p>Second How can I pass parameters in this url as well to get specific information ? Third, I've passed app id and secret. Does this means I dont need user id and password to access url ? Right ?</p>

<p>Please give your suggestions</p>

<p>Thanks in advance !!</p>