This project is read-only.


Index was outside the bounds of the array.


I'm getting this error when I'm logged into facebook and viewing any one of four apps I've created using Facebook Graph Toolkit. People on other computers do not get the error message and I also do not get it when I'm logged out of facebook.
This is happening on apps that have been approved by our QA team, but only on my machine and only when I'm logged in.
Could this be due to facebook's load-balanced environment?
Any idea on how to avoid this in future?


heyadamhey wrote Sep 5, 2011 at 11:55 AM

It only happens when I inherit Facebook_Graph_Toolkit.TabPage e.g.
public partial class _Default : Facebook_Graph_Toolkit.TabPage
inheriting 'System.Web.UI.Page' with 'using Facebook_Graph_Toolkit;' present doesn't cause any errors

jasonApp wrote Sep 5, 2011 at 6:55 PM

I am having the same problem when inheriting a canvas page. It was working fine yesterday. Has there been an update with facebook or the toolkit.

heyadamhey wrote Sep 6, 2011 at 7:02 AM

jasonApp - I found the problem yesterday and luckily found the fix yesterday. Facebook changed the structure of the Access Token.

Have a look here for the solution - it's a quick fix:

wrote Sep 10, 2011 at 5:54 PM

wrote Feb 14, 2013 at 7:29 PM

wrote May 16, 2013 at 9:43 AM

wrote May 16, 2013 at 9:43 AM

wrote Jun 14, 2013 at 8:04 AM