Welcome Developers!

in

Welcome!

in

Profile not showing activities

Last post 04-01-2011 4:07 PM by Joel. 11 replies.
Page 1 of 1 (12 items)
Sort Posts: Previous Next
  • 03-23-2011 2:07 AM

    Profile not showing activities

    Hi, I am trying to create an activity for my off-site app

    I was able to get my access token and I am able to GET my own activities.

    However when I post, even though I get a success status code and the link 

    {"statusLink":"http:\/\/opensocial.myspace.com\/1.0\/activities\/myspace.com.person.564228779\/@self\/myspace.com.app.201829\/1300870799"}  

    I am unable to find my activities, if I click on the link I get a 401, template and app are live

     this is my json template, simple

    {"title":"this is my title","body":"this is the body of my test","titleId":"Event"}

    below my headers

    Authorization: OAuth oauth_version="1.0", oauth_nonce="1845205", oauth_timestamp="1300870797", oauth_consumer_key="xxx", oauth_token="xxxxx", oauth_signature_method="HMAC-SHA1", oauth_signature="PPSQnuIscbDSHIafdao88Is0wy0%3D"

     What am I doing wrong, Please advise!

    Thanjs

     

     


    Filed under:
  • 03-23-2011 4:58 PM In reply to

    Re: Profile not showing activities

    Can you send a Fiddler or Wireshark http capture of the POST request and 401 response from us? You can email it to developerrelations@myspsace-inc.com. It will help give us an idea of why this API call is failing. First thing to check is to be sure the user has granted the app permission to post activities.

     

    thanks,

    Joel

  • 03-23-2011 8:18 PM In reply to

    Re: Profile not showing activities

     Email sent, subject is the post #.

     

    Please advise.

     

    thanks for your help

  • 03-24-2011 2:22 PM In reply to

    Re: Profile not showing activities

     Can you tell me the subject line? I cannot find the thread "52777" anywhere.

     

    thanks,

    Joel

  • 03-24-2011 2:33 PM In reply to

    Re: Profile not showing activities

    Hi Joel this is the subject

    "regarding ticket http://developers.myspace.com/Community/forums/t/10783.aspx"

     

    thanks for your help! deadline approaching :D

  • 03-24-2011 2:55 PM In reply to

    Re: Profile not showing activities

     We will look into it shortly.

     

    thanks,

    Joel

  • 03-28-2011 5:15 PM In reply to

    Re: Profile not showing activities

     Please see the activity template title restrictions here:

    http://wiki.developer.myspace.com/index.php?title=Activity_Templates#Template_Title_Restrictions

    All app activities should have the play button since it was created by an app. For tags – it only works with myspace domain but not with external link. It’s by design. { "templateParams":{ "msParameters":[ { "key": "bodytext1", "value": "Surprise Party" },] }, "titleId": "MCFeedPost" } Finally, if there are multiple app activities raised in a relatively short time period, then the newest one will take the place of the old onev- unless you have an aggregated activity template, then it will combine and show all of them.



    thanks,

    Joel

  • 03-30-2011 4:46 PM In reply to

    Re: Profile not showing activities


    Joel, applications didn't meet our requirements, we dropped them and we are now trying to use MySpace Share Extension (from http://wiki.developer.myspace.com/index.php?title=Status_and_Mood_API) as it fits exactly what we want to accomplish.

    Our app is live, oAuth works fine, we get authorization from the user with the right set of permission (UpdateMoodStatus)

    I hit the following end point http://api.myspace.com/1.0/statusmood/@me/@self

    and I pass the following json

    {
        "sharedLinkInfo": {
            "description": "Here's a description",
            "linkUrl": "http://InfiniteHoops.com",
            "thumbnailUrl": "http://infinitehoops.com/news/1739/Image/NBA_star_Steve_Nash_wants_to_be_a_venture_capitalist_VentureBeat",
    "title":"title for link"
        },
        "source": {
            "imageUrl": "http://infinitehoops.com/GetFile.ashx?File=favicon-infinitehoops.ico&l=0&v=1.0.3855.39810",
            "name": "Tosh's App"
        },
        "status": "New Status"
    }

    All I get is "Application does not have permission to update resources"

    What am I missing? we are an off-site website.

  • 03-30-2011 4:53 PM In reply to

    Re: Profile not showing activities

     I wonder if I am using the right app...should I use myspaceid instead? I am using rest json

     

  • 03-30-2011 5:18 PM In reply to

    Re: Profile not showing activities

     actually I was using an app instead of a myspaceid... since I am trying to update statuses from an external website (with authorization via oAuth) 

     

    I updated it but still get the same result Application does not have permission to update resources

  • 03-31-2011 10:26 PM In reply to

    Re: Profile not showing activities

     UPDATE. it works now, basically we used the wrong type of application.

    And permissions were cached or something like that, we tested with a brand new account and the share shows as expected.

     Thanks for your help.

  • 04-01-2011 4:07 PM In reply to

    Re: Profile not showing activities

     Excellent. Thank you for the update!

     

    thanks,

    Joel

Page 1 of 1 (12 items)