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

Little problem for use #1

Open
webperfcontest2010-Nikolai opened this issue Dec 7, 2010 · 2 comments
Open

Little problem for use #1

webperfcontest2010-Nikolai opened this issue Dec 7, 2010 · 2 comments

Comments

@webperfcontest2010-Nikolai

Hello,

I'm having a trouble using your classes.

On build&run I have a problem on those lines :
shortener.login = @"mylogin";
shortener.key = @"myAPIkey";

The messages are the next ones :
"request for member "login" is not in a structure or a union"
"request for member "key" is not in a structure or a union"

And if I try to resolve it by replacing the lines with :
shortener.credentials.login = @"mylogin";
shortener.credentials.key = @"myAPIkey";

I get this :
didFailWithStatusCode: 500

Do you have an idea that could help me?

Thanks a lot

@Burnsoft
Copy link

Burnsoft commented Jan 5, 2011

i had the same problem and tried the same as you above.
Just go back to the original commit, that which holds the credentials in the same implementation file. works fine.
thanks Stefan! neat bit of code.

Nik

@Umaid1
Copy link

Umaid1 commented Dec 13, 2012

Where is original Commit can u please share the link

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

3 participants