Click or drag to resize
SubscriptionCreateTag Method
Creates a tag subscription.

Namespace: InstaSharp.Endpoints
Assembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public Task<SubscriptionResponse> CreateTag(
	string tag,
	string verifyToken = null
)

Parameters

tag
Type: SystemString
The hashtag, e.g. 'csharp'
verifyToken (Optional)
Type: SystemString
The verify token.

Return Value

Type: TaskSubscriptionResponse
Check the Meta Property for any errors. E.G. Meta.Code =HttpStatusCode.BadRequest, ErrorType="APISubscriptionError" and ErrorMessage="Unable to reach callback URL [url] will be set if the callback url has issues"
Exceptions
ExceptionCondition
ArgumentExceptiontag must be populated;tag or subscribing to a tag with spaces is ignored by Instagram;tag
See Also