Why is the auth_key parameter empty?
I've created a flex-based application and uploaded it to vkontakte. For some reason the auth-key parameter (at the flash vars) is empty, how come?
Here is a link to the application.
EDIT:
Here is my application tag inside the site:
<embed width="607" height="590" flashvars="api_id=1549899&viewer_id=47745507&
amp;viewer_type=2&user_id=47745507&group_id=0&is_app_user=1&
auth_key=&language=3" allowscriptaccess="never" allownetworking="internal"
allowfullscreen="true"
quality="high" name="player" id="player" style="" src="http://cs1830.vkontakte.ru
/u47745507/13de6ae4d52c69.zip" type="application/x-shockwave-flash"/>
Here is other application tag inside the site:
<embed width="607" height="570" flashvars="api_id=1457219&viewer_id=47745507&
amp;viewer_type=0&user_id=0&group_id=0&is_app_user=1&
amp;auth_key=2a3d8454de9f7a7ada0750050e686b01&language=3" allowscriptaccess="never"
allownetworking="all" allowfullscreen="true" quality="high开发者_StackOverflow中文版" name="player" id="player"
style="" src="http://cs4232.vkontakte.ru/u1304144/c1fd79dcbe47ec.zip"
type="application/x-shockwave-flash"/>
When editing application settings, you must "payment on" in the "Payments" tab. Then parameter auth_key will be filled.
If the auth_key parameter is set by some javascript in the web page, there is noway we can guess why it's not being set without seeing that javascript. This issue apparently is not your problem - at least not your SWF's problem - the problem exists somewhere else. Contact the site's administrator for assistance. user_id parameter for the second (the working one) code is 0, which could be some default/moderator value. May be your user_id doesn't have those privileges - this is a 'wildest' guess.
精彩评论