Text Processor

Process text

When a request is made to create a Post or Message, or update a User profile description, the provided body text is processed for entities. You can use this endpoint to test how App.net will parse text for entities as well as render text as html. This endpoint must always be called with a JSON body as documented under Post creation. Calls to this endpoint will not create or update any objects in App.net.


Method URL Token
POST https://api.app.net/text/process Any

POST Body Data

Name Description
text The raw text to process.


to see more complete examples.

curl -X POST -H "Authorization: Bearer <YOUR ACCESS TOKEN>" -H "X-ADN-Pretty-JSON: 1" \
    -H "Content-Type: application/json" -d "{
  \"text\": \"This is #awesome tell @voidfiles about http://google.com\"
}" \
  "data": {
    "entities": {
      "hashtags": [
          "len": 8,
          "name": "awesome",
          "pos": 8
      "links": [
          "len": 17,
          "pos": 39,
          "text": "http://google.com",
          "url": "http://google.com"
      "mentions": [
          "id": "3",
          "len": 10,
          "name": "voidfiles",
          "pos": 22
    "html": "<span itemscope=\"https://app.net/schemas/Post\">This is <span itemprop=\"hashtag\" data-hashtag-name=\"awesome\">#awesome</span> tell <span itemprop=\"mention\" data-mention-id=\"3\" data-mention-name=\"voidfiles\">@voidfiles</span> about <a href=\"http://google.com\">http://google.com</a></span>",
    "text": "This is #awesome tell @voidfiles about http://google.com"
  "meta": {
    "code": 200