Post Json 使用 Azure 逻辑应用程序将数据发送到 Facebook 时间线

Post Json data to Facebook time line using Azure Logic Apps

我有以下 json 从 url 返回的数据格式,我需要 Azure 自动在 Facebook 时间线上 post(标题,url)逻辑应用程序。

[{"ID":1,"title":"News title goes here","Details":"Some details about the news","link":"http://mywebsite.com","socialtype":"facebook"}]

如果可能,如何使用逻辑应用来做到这一点。

我创建了一个 Recurrence(Timer) Action 只是为了说明目的,你的可能是一个响应中带有 json 的 Http Action。 接下来我们需要添加一个 parse json 动作来解析 response(json)。

很明显,解析 json 操作将解析您拥有的 json 结构。要生成架构,请将示例 json 粘贴到该部分并单击 link "use sample payload to generate schema".

解析 "Json Action" 之后,我们需要将 "Post to TimeLine" Facebook 操作附加到工作流中。这将要求一个 facebook sign-in。

Select json 上一个操作 ("Parse Json") 的输出列和 将它们映射到适当的字段、标题和 Facebook Post 时间轴操作中的 link。在解析 json 之后,现在应该将所有内容设置为 post 到 Facebook 时间线。一切就绪!.