Note: this method is only enabled when Canvas Height is set to "Settable (Default: 800px)" in the App Dashboard.
Tells Facebook to scroll to a specific location of your canvas page. This should be used in conjunction with FB.Canvas.setSize and FB.Canvas.setAutoGrow.
To scroll to the top of the page you could use the following code:
FB.Canvas.scrollTo(0,0);
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| params | Object |
|