Coming really soon...

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 Social Network to add comments!

Join Ning Creators Social 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.

Latest Activity

Jennifer Peterson replied to Jennifer Peterson's discussion
How to Make Profile Picture Size Bigger on Profile Page
"Hi kyryl,
I put your code in and it did work :) I will try Johns tonight when I am able to work on…"
6 minutes ago
Jennifer Peterson replied to Jennifer Peterson's discussion
How to Make Profile Picture Size Bigger on Profile Page
"Ok sounds good John. I did use the code earlier from what kyryl gave me. I will wait for yours and…"
7 minutes ago
Manuel A J replied to Kyryl_Ning_Support's discussion
Chat Feature Update on Ning 3.0 is ready!
"Hola Kyryl ... sigue el chat sin enviar un mensaje ... cada vez que tienes que actualizar ... esto…"
19 minutes ago
Bizz ( John ) replied to Jennifer Peterson's discussion
How to Make Profile Picture Size Bigger on Profile Page
"Hi Kyryl, I see you added some code for Jennifer for the text. That's an awful lot of code to do th…"
50 minutes ago
Bizz ( John ) replied to Jennifer Peterson's discussion
How to Make Profile Picture Size Bigger on Profile Page
"Hi Jennifer, here is the line off css for the text you wanted. I have added your logo and the text…"
52 minutes ago
Bizz ( John ) replied to Jennifer Peterson's discussion
How to Make Profile Picture Size Bigger on Profile Page
"Hi Jennifer, thanks for posting the message. You might have sent it on my old profile ( the one wit…"
4 hours ago
Ning via Facebook

#Ning #secret #success Do you want to have the secret weapon for growing your online community?…

Ning via Facebook

#Ning #learn #English Learning English or know someone who does? Check out a guide for learning…

More…