Question

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&amp;viewer_id=47745507&
amp;viewer_type=2&amp;user_id=47745507&amp;group_id=0&amp;is_app_user=1&amp;
auth_key=&amp;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&amp;viewer_id=47745507&
amp;viewer_type=0&amp;user_id=0&amp;group_id=0&amp;is_app_user=1&
amp;auth_key=2a3d8454de9f7a7ada0750050e686b01&amp;language=3" allowscriptaccess="never" 
allownetworking="all" allowfullscreen="true" quality="high" name="player" id="player" 
style="" src="http://cs4232.vkontakte.ru/u1304144/c1fd79dcbe47ec.zip" 
type="application/x-shockwave-flash"/>
Was it helpful?

Solution

When editing application settings, you must "payment on" in the "Payments" tab. Then parameter auth_key will be filled.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top