UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

ES - API Implementation for Users

Gene Teigland · ·
8:57 AM Wednesday, 08 July 2015
None
Trying to implement some of your API code into my Cobalt user pages.
Bascially what Im trying to do is use those embeds to grab data from ES and view it into their user pages.

Let's say I want to embed their points or any other custom fields so other artists can see that users data without going to easy social.

The issue I'm having is that the API you give for users only embed the LOGGED IN USERS data and not other users data.
http://stackideas.com/docs/easysocial/developers/users/users

Let me give you a real world example.

1. On this site ua.t12sites.com (i've provided credentials.)
2. I log in as Sara Bentley
3. When I go to Sam Johnson's Home cobalt page it grabs the avatar, name and even link to social profile so I can see data.
4. However when I start using you api (for example: Foundry::user()->getName();) it grabs Sara' Name instead of Sam Johnson name.

5. You can see by my screen shot it does identify sam Johson user id # so I was hoping your api would see that and then embed Sam's data VERSUS THE LOGGED IN USERS DATA.

Please view screenshot with notes as that better demonstrates it.
http://www.awesomescreenshot.com/image/388345/b5bc0d73999a872b6190515277c49f7c
The replies under this section are restricted to logged in users or users with an active subscription with us