Hi, I'm trying to post a  comment in a page of my network using the ning API, but always receive the same response 500 internal error or 400 Bad Request. I can post a comment in a photo, but I can't do nothing with comments in a Page.

My httpwebrequest is:

URL=https://external.ningapis.com/xn/rest/test4049ebo4d8a7d6bcea3e/1.0/Comment

Headers

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24

Authorization: OAuth oauth_signature="xxxxxxxxxxxxxxxxxxxxxx", oauth_signature_method="PLAINTEXT", oauth_token="yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", oauth_consumer_key="zzzzzzzzzzzzzzzzzzzzzzzzz"

Host=external.ningapis.com

Metodo=POST

postData=attachedTo=6388335:Page:601&description=this is a description

 

Can someone help me?

Views: 106

Reply to This

Replies to This Discussion

The subdomain that you are using, test4049ebo4d8a7d6bcea3e, doesn't map to a valid network. Try making the request again but replace that subdomain with: 'test-4049ebo4d8a7d6bcea3e'.

Thanks Devin, but this problem is old :)

My situation just now is:

I have a ning network (educat1x1) and a user (network creator) with a test-network (test-4049ebo4d8a7d6bcea3e) and a user (administrator).

Nowadays I can access the test-network via API but it's impossible access the real-network via API. Always return error 500 UNKNOWN.

If you need users or code trace or something else you can ask me!!!!

 

Thank you!!!!

The API keys for your test network are different than the keys for your real network. Make sure you are using the correct keys and that you have updated the API request to point to your real network.

This point is OK Devin,

First I generate new keys for the real network and update the API request to point my real network, but it doesn't work.

If you want I give you the keys and users.

 

Reply to Discussion

RSS

Blog Posts

Getting Started

Posted by Kyle Ford on October 13, 2010 at 8:00am 3 Comments

A Note on API Pricing

Posted by Phil McCluskey on October 1, 2010 at 8:55am 0 Comments

Welcome to Build!

Posted by Kyle Ford on September 30, 2010 at 8:30pm 1 Comment

Ning Status

© 2024   Created by Build Team.   Powered by

Badges  |  Report an Issue  |  Terms of Service