Media Class |
Namespace: InstaSharp.Endpoints
The Media type exposes the following members.
Name | Description | |
---|---|---|
Media(InstagramConfig) |
Media Endpoints
| |
Media(InstagramConfig, OAuthResponse) |
Media Endpoints
|
Name | Description | |
---|---|---|
AssertIsAuthenticated |
Asserts if the user is authenticated.
(Inherited from InstagramApi.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Get |
Get information about a media object. Note: if you are authenticated, you will receive the user_has_liked key which quickly tells you whether the current user has liked this media item.
Requires Authentication: False | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Popular |
Get a list of what media is most popular at the moment.
Requires Authentication: False | |
Search(Double, Double) |
Search for media in a given area.
Requires Authentication: False | |
Search(Double, Double, NullableInt32) |
Search for media in a given area.
Requires Authentication: False | |
Search(Double, Double, NullableInt32, NullableDateTime, NullableDateTime) |
Search for media in a given area.
Requires Authentication: False | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
EnforceSignedHeader |
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.) | |
InstagramConfig |
Gets the instagram configuration.
(Inherited from InstagramApi.) | |
Ips |
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.) | |
OAuthResponse |
Gets the o authentication response.
(Inherited from InstagramApi.) |