Facebook SDK unity error? Can only post on one account

Hi, i had add facebook sdk success to my unity game, when i use my facebook developer account then login to facebook and post a message and photo to facebook it working perfectly.
But when i change to another facebook account and post a message and photo i get an error message:

java.io.FileNotFoundException: https://graph.facebook.com/me/photos ?
Here is my code:

// After call init and login success:  

public IEnumerator TakeScreenshot() 
		{	
            yield return new WaitForEndOfFrame();
            
            var width = Screen.width;
            var height = Screen.height;
            var tex = new Texture2D(width, height, TextureFormat.RGB24, false);
            // Read screen contents into the texture
            tex.ReadPixels(new Rect(0, 0, width, height), 0, 0);
            tex.Apply();
			stt = "Connecting to facebook...";
			byte[] screenshot = tex.EncodeToPNG();
            
            var wwwForm = new WWWForm();
            wwwForm.AddBinaryData("image", screenshot, "InteractiveConsole.png");
            wwwForm.AddField("message", "I just score "+score.ToString()");
            
            FB.API("me/photos", Facebook.HttpMethod.POST, Callback, wwwForm);
        }

call TakeScreenshot() function to post massage and photo to facebook wall.

It’s a common issue. Here is the synopsis.

  • Posting requires the publish_actions permission
  • publish_actions requires explicit permission from Facebook
  • Only people listed as developers on your app will be able to use publish_actions until you submit your app to Facebook for approval

Let me know if you need guidance on this process. Facebook’s documentation is pretty terrible.

You have to ask the permission on login.
You can use the login function from facebook API:

FB.Login(“publish_actions”);

Facebook Api permissions :

If your app asks for more than than public_profile, email and user_friends it will require review by Facebook before your app can be used by people other than the app’s developers.

The time to review your app is usually about 7 business days. Some extra-sensitive permissions, as noted below, can take up to 14 business days.

How to add permissions:

How to add test account: