> Forums > Active Social > Themes and Templates > How to add friends through 3rd party apps
Last Post 27 Oct 2010 09:13 AM by Will Morgenweck. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Frank Wedde
Customers
Frank Wedde
Post Count:226

--
21 Oct 2010 11:25 PM
    • Active Social Version: 1.8.0
    • DotNetNuke Version: 5.4.0
    Hi,

    In order for our users to progress in our games and apps, we have developed several types of awards they need to unlock. Some of these awards involve adding more friends (Social Prince & Social King awards).

    We therefore need to be able to add other AS members as friends from within our silverlight apps, instead of leaving the app/game, going to the members list, searching + adding someone ...

    Basically, we need to call the add friend  API function from Silverlight via web service or WCF service or RESTful service. From my finding, there is no API available to call outside from DNN.

    How can we achieve this without copying the whole AS logic itself ?

    Frank


    Frank Wedde
    Customers
    Frank Wedde
    Post Count:226

    --
    25 Oct 2010 04:17 AM
    Any super-users or AM team members out there that can help us with some tips for how to activate the "add friend" functionality through 3rd party apps?

    Thanks,
    Frank
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    25 Oct 2010 09:32 AM
    There is an API exposed for friends. The AddFriend method is part of the UserAPI. We don't have a service exposed for this yet. You would need to create your own.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Frank Wedde
    Customers
    Frank Wedde
    Post Count:226

    --
    27 Oct 2010 05:37 AM
    Thanks Will,

    We tried this, but it seems the API functionality only caters for adding a friend, but not for requesting a friend. In other words, we could cater for auto-adding someone else as a friend without approval, but not with approval.

    How can we cater for sending a friend request through the API?
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    27 Oct 2010 09:13 AM
    How can we cater for sending a friend request through the API?

    This isn't possible at this time.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    You are not authorized to post a reply.
    > Forums > Active Social > Themes and Templates > How to add friends through 3rd party apps
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy