Jens H. Nielsen's Discussions

Hi Everyone,I am looking into the NING API for a friend, and I am having some problems with step one. I feel embarrassed but I don't know what the problem is. I have gotten the Consumer key and the…Continue

Jens H. Nielsen's Page

Latest Activity

"Hi,
I use NING PHP API to access users info in three networks I own.
I always use the network creator credentials on every network as well as the every network API consumer / secret tokens.
The code I use on the three networks it's…"

"HiWe are building an external application outside NING to be used by our NING community members. We would like to implement login functionality for the members such that our members if already logged in into NING can access the external application…"

"I'm in the same position as you were. I'm using curl and python to attempt to get an access token. In the end I'll use C# to interact with I've attempted to login with a user who is apart of the member role,…"

"Devin,
I tried to access the API through poster, and I got an error message similar to the above:
The oauth_signature is invalid. That is, it doesn't match the signature computed by the Service Provider.
As an oauth_signature I used the…"

"By default, the Ning API library requests the 'email' field. This field is only accessible to the Network Creator to prevent malicious members from harvesting email addresses. You can remove this field from the request by editing the…"

"After a bit of debugging, it seems that calling "new NingApi" triggers a login with the default username / password, which is successful. Then calling "->login" triggers another login, which is unsuccessful.
Turns out I…"

"Thanks Jens. I added those things into the "new NingApi" line, though I have already added them to NingApi.php in the appropriate places. I also added those two lines at the end of the login function in NingApi.php
The result…"

"I found the problem. I put up a proxy between my mac and NING. The problem is that it sends two requests instead of combining them into one. I did only get debug information for the second request. When I have some time, I will change the code.
This…"

"I'm having the same issue, in php. Here's my code:
With the output:
1Fatal error: Uncaught The oauth_signature is invalid. That is, it doesn't match the signature computed by the Service Provider. (401) 1-12 thrown…"

"For your Objective-C code that you sent me, I believe the issue is that you are trying to send the OAuth data via an 'Authorization' header during the Token request. You need to send the OAuth information as POST data for a Token request…"

"The certificate verification error you receive is caused by MAMP. By default MAMP doesn't come with a ca-bundle (certificate bundle). Check out this SSL MAMP tutorial to fix it.
As for your "oauth_signature is invalid error",…"