Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

I would like to be able to get some data from my Ning network through the API. But when I do this example that appears in the documentation for developers:

Curl -u yaidelyn@gmail.com \
     -d 'oauth_signature_method = PLAINTEXT & oauth_consumer_key = 0d716e57-5ada-4b29-a33c-2f4af1b26837 & oauth_signature = f0963fa5-1259-434f-86fc-8a17d14b16ca% 26'
     'Https://external.ningapis.com/xn/rest/community.collengworld.com/1.0/Token?xn_pretty=true'

He's giving me the following json:

{
   "Success": false,
   "Reason": "Not Found: null",
   "Status": 404,
   "Code": 2,
   "Subcode": 2,
   "Trace": "89d52a76-3edb-4b18-ae1a-1613256996b7"
} 404

They could offer me some help on this. Explaining that I am doing incorrectly on the above example.

greetings and thanks

You need to be a member of Ning Creators Network to add comments!

Join Ning Creators Network

Email me when people reply –

Replies

  • Greetings Yaidelyn!

    It's going to be hard to debug Ning API code here for you, but try this format:

    curl -v -u yaidelyn@gmail.com -d "oauth_signature_method=PLAINTEXT&oauth_consumer_key=XXXX&oauth_signature=XXXXX%26" -k https://external.ningapis.com/xn/rest/YOURSITE/1.0/Token?xn_pretty=...

    For YOURSITE, I think you need to use whatever your site is set up as, in the format of YOURSITE.ning.com

    In your case, you use collengword.ning.com so use collengword for YOURSITE.

    Make sure there is no space in %26 which is at the end of the oauth_signature.

    Good Luck!

    By the way - why are you using the Ning API?  I think there are better ways to get data from your site which appears to be public.  What are your ultimate goals?  What are you trying to do with your site that you are needing the Ning API for?  You can reply via PM or email to TJ (at) bkserv.com if you want.

    Best wishes!

    TJ

This reply was deleted.

Search the Creators Network

Latest Activity

Philip Voice replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Hi John
Thanks for your response.
It looks as though all my settings are right."
2 hours ago
Kos replied to CZG's discussion Logging into ning site using Firefox not secure message
"If Ning obtains SSL, it will be for their domain name - not all of ours (who can afford that?) 
No,…"
2 hours ago
Suki Winthrop replied to Jeff Gilder's discussion Saying Goodbye To Ning After 9 Years
"Hi Jeff, couple months have gone by now.
I think there is already a lot of feedback here about what…"
3 hours ago
CZG replied to CZG's discussion Logging into ning site using Firefox not secure message
"Thank you Kos. I think where I am confused about this is that when Ning obtains an SSL Certificate,…"
3 hours ago
Kos replied to CZG's discussion Logging into ning site using Firefox not secure message
"SSL has to do with secure checkout on purchases and has nothing to do with a video being embedded.…"
3 hours ago
Bizz ( John ) replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Hi Phillip, I am seeing them in mine ok. How have you got the page setup ? Is it set to view by adm…"
3 hours ago
CZG replied to CZG's discussion Logging into ning site using Firefox not secure message
"Ning is going to obtain an SSL certificate which should solve this, but my concern is this. What co…"
3 hours ago
Bizz ( John ) replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Nice introduction of videos back onto the Ning 3.0.
There are a couple of issues I discovered

When…"
3 hours ago
Kos replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Glad to see this addition.  Praying Chat is next................"
3 hours ago
CZG replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Since there is currently a storage limit according to each plan many of us will continue to use our…"
3 hours ago
Kos replied to CZG's discussion Logging into ning site using Firefox not secure message
"It began a while ago (on my sites) and Ning says it's not them..........so we either have to waste…"
3 hours ago
Garfield Archivist replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"1) Are the uploaded videos HD or are they the same quality as they are on a 2.0 network?
2) Are you…"
4 hours ago
Jen replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"What a wonderful announcement!!!!!!!!!!! Thank you, Ning!"
4 hours ago
Philip Voice replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"I've added video to our network and added a test video. I note that the site activity feed isn't up…"
4 hours ago
Thisisbully replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Once u pay for it a few hours to kick inn"
5 hours ago
Thisisbully replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Nice"
5 hours ago
Kyryl_Ning_Support replied to Jungla's discussion I do not have access to my network SOS
"Hi there,
Your network is available for me at the moment, however, any script that we are using cou…"
6 hours ago
Kyryl_Ning_Support replied to Ian's discussion Side Backgound Image keeps shrinking and orienting left & animated gif header isn't working
"Hi there,
Sorry for the inconveniences. As I see the issue with the gif animated pictures has been…"
6 hours ago
CZG replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"How longs does the SSL certification take?
Also, will the SSL certification block embedded videos f…"
7 hours ago
dronej is now a member of Ning Creators Network
7 hours ago
More…