Допустим хочу на сайте сделать кнопку поделится, но это будет не текущая страница, а сторонняя:
http://oauth.vk.com/authorize?client_id=-1&redirect_uri=http%3A%2F%2Fvk.com%2Fshare.php%3Furl%3Dhttp%253A%252F%252Fvk.com%252F%26title%3D%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%26description%3D%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%25D1%2582%25D0%25B5%25D1%2581%25D1%2582%2520%26image%3D&display=widget
Если человек на момент перехода по ссылке был авторизован - все ок, но если нет, происходит ошибка "too long to param", в чем проблема?