Questions tagged [apple-news]

The Apple News Format, API and associated technologies

The apple-news tag covers the technologies associated with mark up as well as posting articles to the iOS News App. These technologies include:

41 questions
1
vote
0 answers

POST request in Apple News API

I am struggling with the POST request for creating an article. Can anybody please provide me an example value of the canonical request in C#? The error I receive is signature issue: {"errors":[{"code":"WRONG_SIGNATURE"}]} From what I learnt a…
Chulsy
  • 31
  • 8
1
vote
2 answers

Apple News Preview - Simulator stopped working

I am currently testing the Apple News JSON format using XCode / News Preview / Simulator and randomly running into a new error that was not occurring prior to today. I am attempting to load the article.json file into the News Preview app (it's been…
Moose
  • 1,270
  • 2
  • 19
  • 33
1
vote
1 answer

how to apply layout style to an apple news document using Chapter three php API

I am using AppleNewsAPI to create apple news documents and submit them to apple news. Even looking at the API doc I can't understand how to grammatically apply the style. this is what I have done so far: $obj = new Document(uniqid(), 'my headline',…
user3174311
  • 1,714
  • 5
  • 28
  • 66
1
vote
4 answers

Apple News API PHP

I am building a query to POST articles to the Apple News API and I am getting a WRONG_SIGNATURE response. Apple instructs you to do the following: Create a canonical version of the request as a byte-wise concatenation of the following: The HTTP…
Tom Canfarotta
  • 743
  • 1
  • 5
  • 14
1
vote
4 answers

Apple News API Date Format PHP

I am attempting to access the Apple News "Create Article" API with PHP and I am getting the following error: {"errors":[{"code":"INVALID_DATE_FORMAT"}]} The documentation asks for: "The current date in ISO 8601 format" So, I am getting the date…
Tom Canfarotta
  • 743
  • 1
  • 5
  • 14
1
vote
1 answer

How do I use a Link Addition (hyperlink) in Apple News Format without using markdown?

I know that it is possible to include a hyperlink in an Apple News Format article using markdown by doing the following: { "version": "1.0", "identifier": "sketchyTech_Demo", "title": "My First Article", "language": "en", …
sketchyTech
  • 5,746
  • 1
  • 33
  • 56
1
vote
2 answers

Can articles published to Apple News in Apple Native Format (ANF) include images from a URL?

I am creating Apple Native Format (ANF) documents to upload to Apple News. The examples in the documentation upload images in a "bundle", along with the requisite article.json file. These images are then referred to via a Bundle URL, e.g.: { …
haz
  • 1,549
  • 15
  • 20
0
votes
0 answers

How to embed javascript element of type fact-box in Apple-news-formate

I was trying to embed an element of the type fact-box in the apple-news-template. We have a JSON iframe element of type fact-box and under the body, we have
and tags I want to make use of this…
Rohit Sharma
  • 71
  • 2
  • 17
0
votes
0 answers

In Apple News Format, how do I replace an image all at once rather than have it revealed via scrolling?

First time poster, long-time reader! I am writing the JSON for an Apple News story. I have three consecutive full-screen fill images. They are all set to "attachment":"fixed". The transition from one image to another, when scrolling, is to reveal…
0
votes
1 answer

Is possible to parse specials characters in an URL for Apple News?

I have an article with an URL in one body paragraph, with '[' and '[' (special characters). Apple News in their documentation said that you can parse special characters with '', but when I add it the News Preview App said that is a malformed JSON…
0
votes
1 answer

Is it possible to automate the extract of Apple News / iCloud News Publisher analytics data?

I'm trying to set up a dashboard in Google Data Studio with Apple News analytics data as one of the sources. I can see you can download this analytics data manually as a CSV - does anyone know a way of automating this extract? Automatically…
mattjwj
  • 3
  • 2
0
votes
1 answer

Facebook Video in Apple News Component

I am trying to embed a Facebook Video in an Apple News Article Body. According to the documentation iframes are not supported so I am left with EmbedWebVideo and Video Components. EmbedWebVideo seem to only support YoutTube and Vimeo so I am left…
Seb
  • 116
  • 9
0
votes
0 answers

getting "code": "WRONG_SIGNATURE" on apple news create api enen if i passed right channelID keyID and secret on postman

i am new to apple news platform i started using apple news api's to create articles for apple news using REST. fro that i created an channel on apple news publisher and i am able to create articles from there. so for using apple news apis i created…
0
votes
1 answer

How does one use Apple News API to automatically publish content?

We're using the Apple News REST API to automatically "publish" articles from our custom CMS into Apple News. So far, we've been using the Create an Article API to generate an Apple News compatible article to publish. However, I was unable to find an…
Pkmmte
  • 2,822
  • 1
  • 31
  • 41
0
votes
2 answers

Apple News Preview -- can't load articles

I am attempting to use News Preview to check out my apple news articles, but I keep getting the error "This document couldn't be opened. For details, see the error console...". The error console seems to be completely blank. I have tried this with…
JSilv
  • 1,035
  • 12
  • 26