I am attempting to block user from API, from their unique id. API returns me success message but value is not updated.

PHP below:

$ningarr = array('id'=>'XXXXXXX:User:YYYYYY','isBlocked'=>1);

$ning->user->update($ningarr);

It returns  [success] => 1 but user is not blocked. I tried fetching blocked status too and tried logging in too.

 

Can somebody tell me what am I doing wrong here?

Thanks,

Mihir

Views: 577

Reply to This

Replies to This Discussion

Will somebody please help me here?

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