Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add extra for more info #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add extra for more info #17

wants to merge 2 commits into from

Conversation

superp
Copy link

@superp superp commented Mar 26, 2015

No description provided.


def raw_info
@data ||= access_token.params["user"]
# @data ||= access_token.params["user"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this commented ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 year ago instagram return more data, when user authorised.
But now, it just return basic data, such name, nickname etc.
I need to know more info about user, such as followers count.
Method access_token.get('/v1/users/self') never been invoked, and I commented this code to fetch more info in "counts" hash key:

"data": {
"username": "pavel_galeta",
"bio": "",
"website": "",
"profile_picture": "https://instagramimages-a.akamaihd.net/profiles/anonymousUser.jpg",
"full_name": "pavel galeta",
"counts": {
"media": 79,
"followed_by": 56,
"follows": 53
},
"id": "31973911"
}

@ropiku
Copy link
Collaborator

ropiku commented Mar 30, 2015

Could you please some more info about what are you trying to achieve ?

@ropiku
Copy link
Collaborator

ropiku commented Apr 3, 2015

That's ok. Just change the things I commented on: return hash and delete the commented code.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants