Skip to content

Publishing from OwnYourSwarm has been unsuccessful #56

Closed
@tamaracks

Description

@tamaracks

I set up OwnYourSwarm, but it hasn't been able to publish anything to my Wordpress micropub endpoint yet. I do have version 1.1 of the plugin installed.

When I try have OwnYourSwarm try again for the last checkin from the dashboard, it shows this response:

HTTP/1.1 401 Unauthorized
Date: Tue, 02 May 2017 00:48:44 GMT
Server: Apache
Link: <https://tokens.indieauth.com/token>; rel="token_endpoint", <https://www.darkglass.org/wp-json/webmention/1.0/endpoint>; rel="webmention", <https://www.darkglass.org/wp-json/webmention/1.0/endpoint>; rel="http://webmention.org/"
Content-Type: application/json; charset=UTF-8
Vary: Accept-Encoding
Transfer-Encoding: chunked

"missing access token"

It also shows a Swarm Checkin Object:

{
    "id": "5907d03dee628b2f2d74ee77",
    "createdAt": 1493684285,
    "type": "checkin",
    "entities": [],
    "shout": "Gotta get my Rita's fix!",
    "timeZoneOffset": -240,
    "user": {
        "id": "1133595",
        "firstName": "Tamara",
        "lastName": "Ng",
        "gender": "female",
        "relationship": "self",
        "photo": {
            "prefix": "https://igx.4sqi.net/img/user/",
            "suffix": "/3AC0EL3N1VK1AXPZ.jpg"
        }
    },
    "venue": {
        "id": "4ba39acbf964a520314b38e3",
        "name": "Rita's Italian Ice",
        "contact": {
            "phone": "7177318275",
            "formattedPhone": "(717) 731-8275",
            "twitter": "ritasitalianice"
        },
        "location": {
            "address": "842 Market St",
            "lat": 40.243203064685,
            "lng": -76.90323472023,
            "labeledLatLngs": [
                {
                    "label": "display",
                    "lat": 40.243203064685,
                    "lng": -76.90323472023
                }
            ],
            "postalCode": "17043",
            "cc": "US",
            "city": "Lemoyne",
            "state": "PA",
            "country": "United States",
            "formattedAddress": [
                "842 Market St",
                "Lemoyne, PA 17043"
            ]
        },
        "categories": [
            {
                "id": "4bf58dd8d48988d1d0941735",
                "name": "Dessert Shop",
                "pluralName": "Dessert Shops",
                "shortName": "Desserts",
                "icon": {
                    "prefix": "https://ss3.4sqi.net/img/categories_v2/food/dessert_",
                    "suffix": ".png"
                },
                "primary": true
            }
        ],
        "verified": false,
        "stats": {
            "checkinsCount": 700,
            "usersCount": 309,
            "tipCount": 5
        },
        "url": "http://www.ritasice.com",
        "allowMenuUrlEdit": true,
        "beenHere": {
            "lastCheckinExpiredAt": 0
        }
    }
}

and an h-entry checkin object:

{
    "type": [
        "h-entry"
    ],
    "properties": {
        "published": [
            "2017-05-01T20:18:05-04:00"
        ],
        "syndication": [
            "https://www.swarmapp.com/user/1133595/checkin/5907d03dee628b2f2d74ee77"
        ],
        "content": [
            "Gotta get my Rita's fix!"
        ],
        "checkin": [
            {
                "type": [
                    "h-card"
                ],
                "properties": {
                    "name": [
                        "Rita's Italian Ice"
                    ],
                    "url": [
                        "https://foursquare.com/v/4ba39acbf964a520314b38e3",
                        "http://www.ritasice.com",
                        "https://twitter.com/ritasitalianice"
                    ],
                    "tel": [
                        "(717) 731-8275"
                    ],
                    "latitude": [
                        40.243203064685
                    ],
                    "longitude": [
                        -76.90323472023
                    ],
                    "street-address": [
                        "842 Market St"
                    ],
                    "locality": [
                        "Lemoyne"
                    ],
                    "region": [
                        "PA"
                    ],
                    "country-name": [
                        "United States"
                    ],
                    "postal-code": [
                        "17043"
                    ]
                }
            }
        ]
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions