friendships/show

Returns detailed information about the relationship between two users.

URL:

http://api.ogoing.com/friendships/show

Formats:

xml

Requires Authentication

True

Parameters

  • UserName - Specifies the username of the user for whom to return the users home timeline.
  • Password - Password of user
  • PortalName - Portal name where user is registered.
  • TargetUserName - Username of the target username.

Response

<oGoingRelationship>
   <Source>
      <ID>354</ID>
      <UserName>mike</UserName>
      <IsFollowing>true</IsFollowing>
      <IsFollowedBy>false</IsFollowedBy>
   </Source>
   <Target>
     <ID>354</ID>
      <UserName>jack</UserName>
      <IsFollowing>false</IsFollowing>
      <IsFollowedBy>true</IsFollowedBy>
   </Target>
</oGoingRelationship>

Usage Example

http://api.ogoing.com/friendships/show?username=user110&password=user110&portalname=http://www.ogoing.com&FollowUserName=abc