0

Sample for Objective-C cannot insert update, crashes

I am able to authenticate properly with Yahoo. Able to use setStatus: to set new status in my yahoo profile, but when I try

insertUpdateWithTitle:andDescription:andLink:andDate:andSuid:

the app crashes. Found the error in YOSUserRequest.m
When I print out 'response' in line 360, I get the following

SocialSample[1128:207] <?xml version='1.0' encoding='UTF-8'?>
<yahoo:error xmlns:yahoo='http://yahooapis.com/v1/base.rng'
xml:lang='en-US'>
<yahoo:description>Please provide valid credentials</yahoo:description>
</yahoo:error>
<!-- ws120.vita.sp2.yahoo.com uncompressed/chunked Mon Feb 22 16:54:
32 PST 2010 -->
objc[1128]: FREED(id): message release sent to freed object=0x1937850

Is this a bug with the sample? Has anyone actually use this successfully?

by
1 Reply
  • QUOTE (honcheng @ Feb 22 2010, 04:58 PM) <{POST_SNAPBACK}>
    I am able to authenticate properly with Yahoo. Able to use setStatus: to set new status in my yahoo profile, but when I try

    insertUpdateWithTitle:andDescription:andLink:andDate:andSuid:

    the app crashes. Found the error in YOSUserRequest.m
    When I print out 'response' in line 360, I get the following

    SocialSample[1128:207] <?xml version='1.0' encoding='UTF-8'?>
    <yahoo:error xmlns:yahoo='http://yahooapis.com/v1/base.rng'
    xml:lang='en-US'>
    <yahoo:description>Please provide valid credentials</yahoo:description>
    </yahoo:error>
    <!-- ws120.vita.sp2.yahoo.com uncompressed/chunked Mon Feb 22 16:54:
    32 PST 2010 -->
    objc[1128]: FREED(id): message release sent to freed object=0x1937850

    Is this a bug with the sample? Has anyone actually use this successfully?



    looks like this is related to another bug reported 7 months ago. The issue is not resolved yet.
    http://github.com/yahoo/yos-social-objc/is...unreads#issue/1

    Any help?
    0
This forum is locked.

Recent Posts

in Y!OS SDKs