Retrieving Questions via API - Build2024-03-29T08:49:21Zhttps://build.ning.com/forum/topics/retrieving-questions-via-api?commentId=6308082%3AComment%3A19227&x=1&feed=yes&xn_auth=noHi Phillip,
Thanks for the re…tag:build.ning.com,2013-02-15:6308082:Comment:192272013-02-15T09:16:31.806ZWil Huddlestonhttps://build.ning.com/profile/WilHuddleston
<p>Hi Phillip,</p>
<p>Thanks for the response! I was able to hunt down the answer based on some of your suggestions. I can now see that the users have not answered the question. This brings me to part two of my question...</p>
<p>Users are being categorized based on their answer to this question. So their answer and category should be identical...which they are in most cases. However, some users have been manually assigned to the category via the admin, in which case the question is unanswered…</p>
<p>Hi Phillip,</p>
<p>Thanks for the response! I was able to hunt down the answer based on some of your suggestions. I can now see that the users have not answered the question. This brings me to part two of my question...</p>
<p>Users are being categorized based on their answer to this question. So their answer and category should be identical...which they are in most cases. However, some users have been manually assigned to the category via the admin, in which case the question is unanswered yet the category is set. So my question is...can I pull the users category data via the API? That way I'm receiving the admins input, as well?</p>
<p>I've searched the docs and can't seem to find a reference on how to pull user/category info. If I cannot, then I assume this means that the user will be required to answer the question themselves, in order for me to be able to pull their info correctly. If the API cannot get the category data, then can admins answer the question for the user, to streamline the process?</p>
<p></p>
<p>Thanks,</p>
<p>Wil<br/> <br/> <cite>Phillip Pearson said:</cite></p>
<blockquote cite="http://build.ning.com/forum/topics/retrieving-questions-via-api#6308082Comment18699"><div><div class="xg_user_generated"><p>If you have access to the API, I assume you have a username and password that you're using to authenticate to the site? Or do you only have an oauth token and secret? If you have a username and password, you can log in to the site, browse to the user's profile page, and check the profile questions there.</p>
<p>It looks like you're already doing all you can to check through the API: <a href="http://developer.ning.com/docs/ningapi/1.0/reference/users.html#properties-properties" target="_blank">http://developer.ning.com/docs/ningapi/1.0/reference/users.html#pro...</a></p>
<p>Note that to retrieve profile questions through the API, you have to be the NC or the user in question. Are you using the NC's credentials?</p>
</div>
</div>
</blockquote> If you have access to the API…tag:build.ning.com,2013-02-13:6308082:Comment:186992013-02-13T17:25:17.382ZPhillip Pearsonhttps://build.ning.com/profile/PhillipPearson
<p>If you have access to the API, I assume you have a username and password that you're using to authenticate to the site? Or do you only have an oauth token and secret? If you have a username and password, you can log in to the site, browse to the user's profile page, and check the profile questions there.</p>
<p>It looks like you're already doing all you can to check through the API: …</p>
<p>If you have access to the API, I assume you have a username and password that you're using to authenticate to the site? Or do you only have an oauth token and secret? If you have a username and password, you can log in to the site, browse to the user's profile page, and check the profile questions there.</p>
<p>It looks like you're already doing all you can to check through the API: <a href="http://developer.ning.com/docs/ningapi/1.0/reference/users.html#properties-properties" target="_blank">http://developer.ning.com/docs/ningapi/1.0/reference/users.html#properties-properties</a></p>
<p>Note that to retrieve profile questions through the API, you have to be the NC or the user in question. Are you using the NC's credentials?</p>