How to use the django-rest-framework-social-oauth2 with facebook Oauth2?
<p>I have read the documentation here:
<a href="https://pypi.python.org/pypi/django-rest-framework-social-oauth2" rel="nofollow noreferrer">django-rest-framework-social-oauth2</a>, but everything is very unclear to me (It's my first time working with this).</p>

<p>and by the end it shows some configuration of how to do the settings to use facebook Oauth2. And there's this information on the docs:</p>

<blockquote>
  <p>You can test these settings by running the following command :</p>

<pre><code>curl -X POST -d “grant_type=convert_token&amp;client_id=&lt;client_id&gt;&amp;client_secret=&lt;client_secret&gt;&amp;backend=facebook&amp;token=&lt;facebook_token&gt;”  http://localhost:8000/auth/convert-token
</code></pre>
  
  <p>This request returns the “access_token” that you should use on all
  HTTP requests with DRF. What is happening here is that we are
  converting a third-party access token (user_access_token) in an
  access token to use with your api and its clients (“access_token”).
  You should use this token on each and further communications between
  your system/application and your api to authenticate each request and
  avoid authenticating with FB every time.</p>
</blockquote>

<p>Does it mean that with this endpoint I will be able to somehow "override" a <code>sing up</code> method creating a user on my application with the same user_access_token it has on facebook? </p>

<p>If this is right, by my understanding. After I get the <a href="https://developers.facebook.com/docs/facebook-login/web" rel="nofollow noreferrer">FB.getLoginStatus</a> response, I will be able to make calls on my own API endpoints referring to the logged user with his facebook user_acess_token (That also is the same on my system). </p>

<p>I guess I would also need to add social accounts tokens to user models? </p>

<p>Am I right?</p>