GrusersUserpageinfoModule - danopia/deviantart-difi GitHub Wiki

This class is used to get the markup that populates different aspects of a user's page.

getActivityDetails

This method is used to get the markup that populates a profile's "Recent Activity" section.

Usage

  • Invoked when clicking on the user activity details on the profile page.

Params

  • gruser_id: number
  • page_id: number (This is found in various tags in a userpage's markup as gpage_id.)

Response

Returns the user activity as HTML content.

Example:

<ul class="f">
    <li class="f">
        <i class="icon i50"></i>
        Added <span data-activityts="1543265329"><a href="https://www.deviantart.com/username/art/example">Deviation</a></span> to her favourites  a week ago.
    </li>
</ul>
<div class="activity-more-container">
    <a href="https://www.deviantart.com/username/activity/" class="gmbutton2">More Activity<b></b></a>
</div>
<div class="activity-menu-footer">
    Deviant since Nov 17, 2003
    <span style="color:#BDC7C5">|</span>
    <a href="https://www.deviantart.com/core-membership/?mx=gift&point=activity&subscribe=username" class="upsell-link" data-ga_click_event="{&quot;category&quot;:&quot;PremiumUpsell&quot;,&quot;action&quot;:&quot;Activity&quot;,&quot;nofollow&quot;:0}">
        <img src="https://st.deviantart.net/minish/main/premium_star.png" class="oh-mg premium-star" width="19" height="21"> Give Core Membership
    </a>
</div>
⚠️ **GitHub.com Fallback** ⚠️