I am integrating Google+ in my Windows mobile 8 application. I am able to get my login detail by following http://www.codeproject.com/Articles/321291/Google-OAuth2-on-Windows-Phone. How can I can get the detail of my friends? For example: friend's id, name and image. Can anyone help?
Thanks in advance. Every suggestion is welcome.
The Google+ documentation is actually pretty detailed when it comes to the API.
To get a person's information, you would use:
GET https://www.googleapis.com/plus/v1/people/userId
To get a person's user ID, you could use:
GET https://www.googleapis.com/plus/v1/people?query=Name+of+person+to+search+for&maxResults=1
The above query would search for "Name of person to search for" and limit the results to 1. This is what you would use if you were expecting the result to be exactly what you entered.
Check out the full documentation at https://developers.google.com/+/api/latest/people for more information. If you run into a problem with your code, then you should post that problem for us to help you with.
There is a dedicated endpoint for this. See https://developers.google.com/+/api/latest/people/list for more info.
Related
I had this idea for an app/extension that adds functionality to Instagram by allowing the user to categorize all of the people/accounts they follow into groups related by subject (ex. Memes, Friends, Sports) and have the ability for the user to select certain groups they want to display in their feed. However, I'm not sure if the Instagram API can let me edit/get info about the users feed and their followers so I'm wondering if there is some other API/library I could implement or if Instagram's API can let me do this.
Any advice/tips about the following would be greatly appreciated
editing/adding custom UI to existing webpages
how to retrieve information about IG posts (ex. The account that posted)
Feel free to ask any questions I will try my best to respond as quick as I can.
Thanks
I'm trying to fetch the Instagram user profile picture. I found an API to achieve this task
https://www.instagram.com/{username}/?__a=1
but the above API only works when I'm logged into my account, else it wouldn't return the JSON response
Is there any workaround for this? Lots of websites are doing this, so I'm sure there is some way to do it
any help would be appreciated
Your Question is a Duplicate.
I was able to try both urls and worked well.
https://www.instagram.com/USERNAME/?__a=1
https://i.instagram.com/api/v1/users/USER_ID/info/
Tried first one on Chrome and second one on Insomnia (both not logged on Instagram).
I once asked this question.
Is it possible to use Instagram API in order to make a user list according to the number of followers?
And I am not a programmer, just a salesman.
And it seems like we cannot make this influencer finding tool by using "official" Instagram API. So I have looked for other solutions and found a way to get data from Instagram by using other API and JSON.
Please refer to these links.
https://github.com/whizzzkid/instagram-reverse-proxy
How can I get a user's media from Instagram without authenticating as a user?
Obtaining Instagram Access Token
My goal is creating an influencer finding tool, so I need to find photos with #tag and make user list accordingly to the number of followers of the user.
My question is;
1 Is it possible to get data such as user name, follower numbers, photos with certain #tag? by using non-official API and JSON?
2 And suppose we made it, then Instagram will find out our products and ban our accounts or service? It seems they do not allow us to use non-official API.
I would appreciate it if you could teach me whether we can make it or not, in a way that you talk to the person who does not know much about JSON or so.
Thank you!
Using unofficial API is always risky, its against their terms and policy.
You can use official APIs to make get this info.
You first have to make hashtag API , which gives you posts with username (no follower count), then for each user, you have make another API call to get user info, this will give you follower counts, bio and other details.
The 2 APIs needed are below, you need public_content scope permission and have to get your app approved by instagram and go to live mode.
https://api.instagram.com/v1/tags/{tag-name}/media/recent?access_token=ACCESS-TOKEN
https://api.instagram.com/v1/users/{user-id}/?access_token=ACCESS-TOKEN
I want to create an app that requires to fetch Gmail contact list for sending friends request so kindly give all link that are applicable to get it.
follow the steps given at link and like my answers
https://developers.google.com/google-apps/contacts/v3/?csw=1
I am trying to write a very basic jQuery Mobile app that will allow someone to select a city and view the current temperature using the OpenWeatherMap API. The data I want to use will be returned as json.
As per the landing page I can see that doing the query explicitly with the city is fine...
http://api.openweathermap.org/data/2.5/weather?q=London,uk
But what I am unable to find is how do I query the API to simply return all the cities, which will then subsequently allow me to populate my list view, then allowing the user to see the temperature.
I have read some people talking about using a 'callback', but I am unable to see how this would help.
I have written a basic app previously, but again, that was using a fixed location, where the user didnt have to select it, so I never ran into this problem before.
I am having problems posting my code, but will attempt to post it later this eve.
Any pointers/tutorial links would be great.
You have to contact them via email to get the latest list of countries.