Custom user parameter management interface
This interface supports Twitter for a single WeChat open platform account (the main body should be consistent with Twitter account) under the specific unionid binding custom user parameters, bound users through the alliance to promote the material order, through theQuery order detail interfaceCan query the user corresponding to the custom user parameters.
Interface Name | Introductions |
Binding open platform account | Support Twitter account binding open platform |
Get an open account | Support tweets get bound open platform account |
binding/Custom user parameters | Support Tweeters to bind custom parameters for specific unionid |
Remove custom user parameters | Support for tweeters to delete custom parameters for a specific union id |
Get custom user parameters | Support for tweets querying custom parameters for specific unionid |
Interface Dxplaination
Support Twitter account binding open platform
Note: The binding open platform account and push guest account should be the same body, the open platform accounts can be changed twice a year.
Request address
Request parameters
attribute | type | Default values | Required | Introductions |
access_token | string | | yes | Interface calling credential |
openAccount | string | | yes | Open platform account |
POST Data example
Return value
Object
attribute | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
Error code
value | Introductions |
200002/25510 | Parameter error |
25503 | Failed to get principal information |
25504 | Principal validation failed |
25505 | open Account does not exist |
25506 | open Account exception |
25507 | open Account exception |
25508 | Validation failure |
25509 | The number of custom parameters for binding exceeded |
Interface Dxplaination
Support push guest get bound open platform account
Request address
Request parameters
Return value
Object
attribute | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
openAccount | string | Open platform account |
III. Binding/Custom Parameters for Changing Ties
Interface Dxplaination
Support Tweeters to bind custom parameters for specific unionid
Note: A unionid can bind only one custom parameter at the same time, repeated binding will take the latest value
Request address
Request parameters
attribute | type | Default values | Required | Introductions |
access_token | string | | yes | Interface calling credential |
unionid | string | | yes | Open Platform unionid |
customizeInfo | string | | yes | Custom parameters |
POST Data example
Return value
Object
attribute | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
Error code
value | Introductions |
200002/25510 | Parameter error |
25503 | Failed to get principal information |
25504 | Principal validation failed |
25505 | open Account does not exist |
25506 | open Account exception |
25507 | open Account exception |
25508 | Validation failure |
25509 | The number of custom parameters for binding exceeded |
Delete custom parameters
Interface Dxplaination
Support for tweeters to delete bound custom parameters for a specific union id
Request address
Request parameters
attribute | type | Default values | Required | Introductions |
access_token | string | | yes | Interface calling credential |
unionid | string | | yes | Open Platform unionid |
POST Data example
Return value
Object
attribute | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
Error code
value | Introductions |
200002/25510 | Parameter error |
25503 | Failed to get principal information |
25504 | Principal validation failed |
25505 | open Account does not exist |
25506 | open Account exception |
25507 | open Account exception |
25508 | Validation failure |
25509 | The number of custom parameters for binding exceeded |
Get custom parameters
Interface Dxplaination
Support for Tweeters to get bound custom parameters for a specific union id
Request address
Request parameters
attribute | type | Default values | Required | Introductions |
access_token | string | | yes | Interface calling credential |
unionid | string | | yes | Open Platform unionid |
Return value
Object
attribute | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
customizeInfo | string | Custom parameters |
Error code
value | Introductions |
200002/25510 | Parameter error |
25503 | Failed to get principal information |
25504 | Principal validation failed |
25505 | open Account does not exist |
25506 | open Account exception |
25507 | open Account exception |
25508 | Validation failure |
25509 | The number of custom parameters for binding exceeded |