[Solved] Hmm ...

Discuss all the publishing tools, including ManiaHome, ManiaPub, ManiaFlash and ManiaPress in this forum

Moderator: NADEO

Post Reply
User avatar
fastforza
Posts: 850
Joined: 15 Jun 2010, 11:19
Contact:

[Solved] Hmm ...

Post by fastforza »

So my ASP.NET version of the ManiaHome library is done, but I've run into a little problem.

When I'm debugging, trying to post test messages, all I get is the following response ...

Code: Select all

{"message":"API username \"\" is not allowed to post notifications for Manialink \"forzyy\". You can configure that on the ManiaHome Manialink, in Options > Manager > Your manialinks"}
I have configured my manialink on the ManiaHome manialink, my API is linked to. Have gone around in circles on the manialink and can't seem to figure out where I've gone wrong. :?

Solutions?
Last edited by fastforza on 21 Apr 2011, 10:21, edited 1 time in total.
Mania Exchange - Share your maps!

ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti

Need technical help for ManiaPlanet? Click here. :)
TheM
Posts: 1379
Joined: 15 Jun 2010, 14:30
Location: Uden, Noord-Brabant, Netherlands
Contact:

Re: Hmm ...

Post by TheM »

fastforza wrote:

Code: Select all

{"message":"API username \"\" is not allowed to post notifications for Manialink \"forzyy\". You can configure that on the ManiaHome Manialink, in Options > Manager > Your manialinks"}
I'm not expert in ManiaHome, but it seems that you haven't provided your API username...
Global moderator | Dutch moderator | Laddermoderator | ManiaWiki moderator
Server Manager/webmaster of Smurfen.net, join us on Canyon, Valley and Royal!
ESL (Game) Staff Head for TrackMania (Stadium, Canyon and Valley).
User avatar
fastforza
Posts: 850
Joined: 15 Jun 2010, 11:19
Contact:

Re: Hmm ...

Post by fastforza »

TheM wrote:
fastforza wrote:

Code: Select all

{"message":"API username \"\" is not allowed to post notifications for Manialink \"forzyy\". You can configure that on the ManiaHome Manialink, in Options > Manager > Your manialinks"}
I'm not expert in ManiaHome, but it seems that you haven't provided your API username...
I have and I think this is where I'm stumped a little.
Mania Exchange - Share your maps!

ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti

Need technical help for ManiaPlanet? Click here. :)
User avatar
fastforza
Posts: 850
Joined: 15 Jun 2010, 11:19
Contact:

Re: Hmm ...

Post by fastforza »

Problem solved, I overlooked the 'Basic Auth' part and realised I was passing network credentials instead of the 'Authorization' HTTP header. :P

ASP.NET library works great now too. :mrgreen:
Mania Exchange - Share your maps!

ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti

Need technical help for ManiaPlanet? Click here. :)
User avatar
gouxim
Nadeo
Nadeo
Posts: 1186
Joined: 14 Jun 2010, 17:20

Re: [Solved] Hmm ...

Post by gouxim »

Btw, if you want to play the API, you can use:

Code: Select all

https://api.maniastudio.com/foobar/
You can GET, POST, PUT, DELETE it so you can test how it all works

Note that on all services, you can change the format either by specifying Accept (for response format) or Content-type (for request body format), or by adding the format in the url.

For example you can try:

http://api.maniastudio.com/foobar/
http://api.maniastudio.com/foobar/index.json
http://api.maniastudio.com/foobar/index.xml
http://api.maniastudio.com/foobar/index.html
http://api.maniastudio.com/foobar/index.txt
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
User avatar
fastforza
Posts: 850
Joined: 15 Jun 2010, 11:19
Contact:

Re: [Solved] Hmm ...

Post by fastforza »

Cool, thanks gou. :mrgreen:
Mania Exchange - Share your maps!

ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti

Need technical help for ManiaPlanet? Click here. :)
Post Reply

Return to “Ingame Publishing”

Who is online

Users browsing this forum: No registered users and 0 guests