<div dir="ltr">On Fri, Oct 21, 2016 at 8:56 PM, Magog The Ogre <span dir="ltr"><<a href="mailto:magog.the.ogre@gmail.com" target="_blank">magog.the.ogre@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Well I tried to do this using the "pre-shared secret key" method described at <a href="https://tools.wmflabs.org/oauth-hello-world/" target="_blank">https://tools.wmflabs.org/<wbr>oauth-hello-world/</a> and I just get an invalid key error, so I'm doing something wrong. </div></blockquote><div><br></div><div>Without seeing your actual code, I can't begin to guess just what you might be doing wrong. Does it work for you if you copy the hello-world code and put your own credentials in the .ini file?<br><br>The contents of that .ini file would be something like this:<br><br></div><div>agent = Your user agent<br>consumerKey = 0123456789abcdef0123456789abcdef<br></div><div>consumerSecret = 0123456789abcdef0123456789abcdef01234567<br></div><div><br clear="all"></div></div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Brad Jorsch (Anomie)<br>Senior Software Engineer<br>Wikimedia Foundation</div></div></div>
</div></div>