Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect signature: sid & secret authorization #2

Open
xineo7 opened this issue Jan 24, 2013 · 0 comments
Open

Incorrect signature: sid & secret authorization #2

xineo7 opened this issue Jan 24, 2013 · 0 comments

Comments

@xineo7
Copy link

xineo7 commented Jan 24, 2013

Hi,

I encountered this when using the sdk. I am trying to build an IFrame application. Here is the code try{
$vkontakte = new VKontakte();
$vkontakte->setApiUrl('https://api.vk.com/api.php');
$vkontakte->setTestMode(true);
$viewerId = $vkontakte->getViewerId();
$profiles = $vkontakte->getProfiles(array('uids' => $viewerId,
'fields' => 'photo,sex'));
print_r($profiles);
} catch (VKontakteApiException $e) {
echo $e;
}
Since I've notice that this sdk is already getting the values from $_GET variables on construct method, I should not have an error like incorrect sid because the values is coming from the VK site directly right? This is my first time to try to build an IFrame applicaiton on VK, can you help me why does it give me this kind of error? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant