title: Can't use test user to access Facebook page with Messenger Bot app
body: <p>I am trying to setup my first Facebook bot by following <a href="https://glitch.com/edit/#!/messenger-bot?path=README.md:1:0" rel="noreferrer">this sample project in Glitch</a>, connected to <a href="https://developers.facebook.com/docs/messenger-platform/guides/quick-start" rel="noreferrer">this quick start help page</a>. </p>
  
  <p>I have logged in with a real user, then created an app and added a messenger product as per the instructions. I have set the webhook, I have also created a page with this user, and subscribed the messenger bot to it using the app dashboard.</p>
  
  <p>I can access the page with the real user and I can send messages to the page and the bot responds to those messages as expected. So far so good.</p>
  
  <p>Now I would like to create test users, so that I can access this page and send messages with other users. I have followed the procedure indicated <a href="https://developers.facebook.com/docs/apps/test-users/" rel="noreferrer">here</a> to create such test users. </p>
  
  <p>The problem is that those test users can't access the page:  "Sorry, this content isn't available right now"</p>
  
  <p>I have found <a href="https://stackoverflow.com/q/40621447/1811775">this</a> and <a href="https://stackoverflow.com/questions/38604436/can-you-use-facebook-test-users-to-test-a-messenger-bot">this</a> answers, which both point to <a href="https://developers.facebook.com/bugs/230322797329131/?hc_location=ufi" rel="noreferrer">this explanation</a>.</p>
  
  <p>Basically, the page the bot subscribes to must be created by one of the test users with <code>manage_pages</code> and <code>pages_messaging</code> permissions. Like this I can create other test users which can connect to the test page and send messages just fine. However, the bot is not properly subscribed to this new test page, despite following the provided steps. I followed all of them and got the <code>success</code> response in the subscription step:</p>
  
  <p><code>https://graph.facebook.com/v2.9/me/subscribed_apps?method=POST&amp;access_token=&lt;TEST_USER_PAGE_ACCESS_TOKEN&gt;</code></p>
  
  <p>Still, the bot is not connected to the test page. I can send messages back and forth between test users on the test page, but the bot does not respond and I get no activity logs in the webhook.</p>
  
  <p>In a nutshell:</p>
  
  <ol>
  <li>If I create a page with a real user, I can subscribe the bot successfully to the page, but I can't access the page with test users.</li>
  <li>If I create a page with a test user, I can access the page with other test users successfully, but I can't subscribe the bot to the page.</li>
  </ol>
  
  <p>How can I solve this or at least troubleshoot it? </p>
  
  <p>Facebook API v2.9</p>