• Resolved letterman1991111

    (@letterman1991111)


    I am able to login through my mobile app, however, I console.log the response and see that “avatar” is returning null even though I have it enabled in “discussion” in wordpress settings. Am I able to get the image link for gravatar at all? or have I messed up somewhere along the line?

    https://ww.wp.xz.cn/plugins/json-api-user/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ali Qureshi

    (@parorrey)

    just try some other email address or user account.. this endpoint has been tested many times and works.

    Thread Starter letterman1991111

    (@letterman1991111)

    Iv tried a few and every one is returning null. must be something on my side. was just making sure. will keep working on it

    Thread Starter letterman1991111

    (@letterman1991111)

    ah I see the problem now. when I call: http://www.examplesite.com/tna_wp/api/user/get_avatar/?user_id=user.user1&type=full

    I get the response: `{
    status: “error”,
    error: “You must install and activate BuddyPress plugin to use this method.”
    }`

    so the problem was on my side. sorry for the trouble

    Plugin Author Ali Qureshi

    (@parorrey)

    no worries..

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Avatar Returning NULL’ is closed to new replies.