Click or drag to resize
Users Class
The Users API
Inheritance Hierarchy

Namespace: InstaSharp.Endpoints
Assembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public class Users : InstagramApi

The Users type exposes the following members.

Constructors
  NameDescription
Public methodUsers(InstagramConfig)
User Endpoints
Public methodUsers(InstagramConfig, OAuthResponse)
User Endpoints
Top
Methods
  NameDescription
Protected methodAssertIsAuthenticated
Asserts if the user is authenticated.
(Inherited from InstagramApi.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFeed
See the authenticated user's feed.

Requires Authentication: True

Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet
Get information about authenticated user.

Requires Authentication: True

Public methodGet(String)
Get information about a user.

Requires Authentication: False

Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSelf
Get information about authenticated user.

Requires Authentication: True

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLiked
See the authenticated user's list of media they've liked. Note that this list is ordered by the order in which the user liked the media. Private media is returned as long as the authenticated user has permission to view that media. Liked media lists are only available for the currently authenticated user.

Requires Authentication: True

Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRecent(String)
Get the most recent media published by a user.

Requires Authentication: False

Public methodRecent(String, String, String, NullableInt32, NullableDateTime, NullableDateTime)
Get the most recent media published by a user.

Requires Authentication: False

Public methodRecentSelf
Get the most recent media published by the logged in user.

Requires Authentication: True

Public methodRecentSelf(String, String, NullableInt32, NullableDateTime, NullableDateTime)
Get the most recent media published by the logged in user.

Requires Authentication: True

Public methodSearch
Search for a user by name.

Requires Authentication: False

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyEnforceSignedHeader
Requires the use of your Client Secret to sign POST and DELETE API requests. Use this option to instruct Instagram to check requests for the 'X-Insta-Forwarded-For' HTTP header. Eligible requests that do not provide this header and a valid signature will fail. This technique helps identify you as the legitimate owner of this OAuth Client. Only enable this option for server-to-server calls. See the Restrict API Requests documentation for details. http://instagram.com/developer/restrict-api-requests/ This needs to be configured at application level
(Inherited from InstagramApi.)
Public propertyInstagramConfig
Gets the instagram configuration.
(Inherited from InstagramApi.)
Public propertyIps
IP information: Comma-separated list of one or more IPs; if your app receives requests directly from clients, then it should be the client's remote IP as detected by the your app's load balancer; if your app is behind another load balancer (for example, Amazon's ELB), this should contain the exact contents of the original X-Forwarded-For header. You can use the 127.0.0.1 loopback address during testing
(Inherited from InstagramApi.)
Public propertyOAuthResponse
Gets the o authentication response.
(Inherited from InstagramApi.)
Top
See Also