It's possible to retrieve first level contacts of one of my LinkedIn contacts using LinkedIn API.
If i pass one of my contacts name or email, it is possible to retrieve his/her first level contacts, i'm using PHP as my development platform.
Help is highly welcome!
You can only search for 2nd level/degree connections with the People Search API, and you need approval before you can use it. There is no way to get a full list of all 2nd level connections without search parameters.
Search for "facets" in the API docs, especially with the value "S" (Second Degree Connections).
The profile fields for the LinkedIn API are documented here:
https://developer.linkedin.com/documents/profile-fields
As you can see, connections are not available for second degree (or further) connections, only for the logged-in and authenticated user.
Related
I'm experimenting with twitter API, and have successfully authenticated the user.
But i also need a way to get the user interest.
Also followed this documentation. Here I could not find a way to get user interest Or do I need a third party application. Thanks
There is no API from Twitter that provides the interests of an individual user account, even in the Ads API. The Ads API (which you need to apply for whitelisted access to) will enable interest-based targeting for promoted Tweets, but it will not provide user-level interest data.
I'm trying to make app that use myintervals API.
And I need to check for project members contact information.
In order to make API call for each person for it contacts, I'd like to dump contacts for all persons in project(or company), so I could make 1 API request, not a 100.
Unfortunately I didn't found how to perform such request.
May I have some help about it?
According to the API definition the person resource expects an integer so there isn't a way to exclude it or add more than one id via a comma-delimited list of people ids.
http://www.myintervals.com/api/resource.php?r=personcontact
The only way to get at them will be one per request. Try sending an email to support to see if the requirement can be lifted or modified to allow multiple ids to be sent.
For one of my tools I have a database with lots of twitter accounts.
Sometimes it happens, that account which are listed in the database are suspended by twitter.
I would like to know if there is a way to check if a account is suspended.
I'm using the php twitter api library by Abraham Williams.
Perform the users lookup query with the user ids you want to check.
The ones left out of the list will be the suspended ones.
That's the way I have accomplished it so far. Not sure if there's specific methods to do such.
I have a question regarding the creation of event invites by a facebook application, and the ability to invite the users who have approved that applications permissions to this event.
For example, we are a local nightclub who have an app allowing users to connect with the app to see who else is attending events etc, and keep up to date with information about the events we host. It would be ideal to be able to send an event invite to these users when we have special events or theme nights.
Currently the app has around 10,000 approved users.
Just really looking to find out if this is at all possible with the new open graph api? In particular the info provided at:
Event API Reference
How To Use the Graph API to Manage Events
There does seem to be some confusion over what these posts say can be achieved, and what actually can be achieved.. unless those that I have previously spoken to are still basing their opinions on the old rest api.
Clarification and pointers appreciated!
The HTTP POST if you use the ?users= can only handle so many IDs before the length of the url overruns. Since it's a post, you can specify the users parameter and then a comma separated list of ids for the value. Try it out here: http://developers.facebook.com/tools/explorer?method=GET&path=me
I am working on a wordpress website where I need to get the number of members in a particular linkedin group.
The person viewing the website will likely not be logged into linkedin, or ever have a profile.
This is simply for a Check out our linked in group and join 12345 other members! type thing.
Is there a simple way to get the number of members in a linkedin group?
This can be PHP using a rest API, a Javascript API, or whatever works as long as it can work with wordpress.
You would pull the group membership totals from the LinkedIn API via the Groups API.
Unfortunately, in order to comply with the API platform guidelines, you can only retrieve and show the membership totals of a group to the user if the user has authenticated your application against the API via OAuth.
Once you have authenticated the user, you can retrieve the information from the Groups API via a call along the lines of:
http://api.linkedin.com/v1/groups/XXXX:(id,name,site-group-url,num-members)
Where XXXX is the group ID.
http://blog.linkedin.com/2011/11/10/groups-analytics/
Can this information be useful for you?