How does one use Apple News API to automatically publish content? - node.js

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 API request that actually publishes it. Just creating the article puts it into our "Drafts" section of our Apple News Publisher account, which we then have to manually publish.
This is very cumbersome and manual. Is there some sort of API available for moving articles from Drafts into Published? We've reached out to Apple's Developer Forum to no avail.

Apple lets you publish articles immediately by setting "isPreview" to false in your request metadata. See details there: https://developer.apple.com/documentation/apple_news/create_article_metadata_fields
Note: Your channel needs to be approved for this to work.

Related

Do we have DigitalRiver payment method supported in BigCommerce?

I want to add a new payment method in BigCommerce for Digital River.
The API's don't allow.
I have seen the workaround mentioned in : Creating new payment method for Bigcommerce
But that's just a hack, and we need something build in, don't want to write the DR wrapped in whole.
I looked at the SDK : https://github.com/bigcommerce/checkout-sdk-js/tree/master/src/payment/strategies/digitalriver
where DR is added couple of weeks ago, is this something going to be supported sooner ?
You're right that this is not currently supported via apis in the docs. As creating a new payment integration is not as straight-forward as other integrations, such as shipping or tax for example, which use the rest apis in the BigCommerce dev docs.
This process requires a partnership with BigCommerce, in addition to being a large time & resource investment. I do have good news though -- BigCommerce is currently working with this provider to build this integration! :)

Auto post picture to instagram as story

I want to know, if there is an api that supports to post/publish automatically a picture as a instagram story.
Currently I am using the instagram4j api that works perfectly to publish pictures in the regular feed, but I want to be able to plan that every day a picture is published as a story.
Is there such an api?
Sounds like this is something other developers have requested on the GitHub repo issues section for the Instagram4j API.
https://github.com/brunocvcunha/instagram4j/issues/42
Might be worth following this and +1 ing the issue.
As off now, Instagram's official API doesn't allow this unfortunately.
An alternative might be to check this repo on GitHub.
https://github.com/mgp25/Instagram-API/blob/master/src/Request/Story.php
I haven't tested it myself but that might be something worth considering.

how to write own logic without using qnamaker

I am still trying to understand Chatbots. Currently i have already made chatbot which is integrated in skype. I have Sharepoint online where user search for FAQ. If they dont find then they ask BOT which sends request to LUIS and Qnamaker.
Qnamaker then sends response back by looking it into its database. I upload FAQ from sharepoint to Qnamaker using sharepoint workflows. But i want to write my own logic and get rid of Qnamaker.
What are ways to do it? Any good tutorials? I also wanted to know how the flow happens. For example if we dont use Qnamaker then we fire queries in sharepoint based on what user asked? I dont understand how i can fire queries in sharepoint if user makes typo then we will not get anything from sharepoint. So any tips on how to implement this without using qnamaker is highly appreciated?
The FAQ bot generator is a subset of the main Microsoft bot framework. You should do some research on the Microsoft Bot Framework. The link above takes you right to the documentation overview of the bot framework and from there you can get into developing one. They have links to a few sample projects as well as a large number of code snippets within some of the article explanations. It has a full setup guide that will walk you through the initial setup so it should be easy to get a basic echo bot running, but if you are not a programmer you should stick to the FAQ generator.
I suggest you use either node.js or c# to develop the bot since these are directly supported by the framework. I am personally using c# to build my bot from the ground up. The purpose of mine is to be used within a customer facing android/ios app that will help with questions, checking the status of different things, and even paying bills.
Just remember you will need to manually set up your cloud hosting. I host mine in azure alongside a web interface I built for it (you can build the website inside your bot if you are using c#, just replace the default.htm file in the web.config with the main page of the interface).

Instagram API / Submission Review / Issue with Video Screencast shared on public network

We would like to use the Instagram API to harvest comments from a Brand page into a CRM Solution.
From this CRM Solution, agents will consult and possibly reply to Instagram Posts.
I think the most appropriate use case for what we plan to do is this one:
"My product helps brands and advertisers understand, manage their audience and media rights"
Here my question:
During the submission review, we need to join a Video Screencast of our project.
This part is really annoying for us as:
We don't want to share on a public platform (like youtube) the details of our project and CRM solution
Is there any workaround to this ?
You don't need to "join" video screencast, you need to submit a video of product functionality (use quicktime screen record), upload the video on google drive and share the link, only instagram will be seeing it, only the people u send link will be able to get to the video, it will not be public when sharing from Google Drive, there are varrious settings while sharing. You need to show login flow and all API functionality of app. This worked for me. The usecase looks correct for your app.

What type of ListView is this?

What kind of list view is in this navigation drawer? It has two sections. One with Inbox, starred, sent mail, drafts and the other with all mail, trash, spam & follow up.
So is it a sectional ListView without section headers or are these two ListViews?
Found the image here: http://www.google.com/design/spec/style/typography.html#typography-standard-styles
Google offers I/O 2014 app source code as Material Design sample code
The Google I/O 2014 app has successfully lived up to its initial purpose of providing scheduling for Google I/O attendees and allowing us at home to check in and watch the keynote presentation, as well as other live-streamed sessions. But what happens to the app now?
Instead of leaving the app to be forgotten in the Google Play Store, Google has decided to use the app as a shining light for developers. Google updated the I/O 2014 app with Material Design and the Android L developer preview before making the full source code free and available for developers to download and utilize as a template for their own apps.
Although the majority of actual benefits of the Google I/O 2014 app were only good during the two days of conference back in June, the app now offers developers examples of a number of features and techniques. Developers can look forward to sample code for:
Google Drive API
Google Cloud Messaging
Android L developer preview
Android Wear
Video streaming
Reminders and alarms
NFC scanning and beaming
Feedback mechanisms
In addition to simply just dropping the code on developers, there is also some reference material available on the project git page, expect also to see video tutorials coming soon through the developer channel.
Once you’ve got your Android L device or emulator up and rolling, grab the source code for the Google I/O 2014 app from the GitHub page and get on building your own Material Design apps.
GITHUB CODE
maybe this is what you are looking for
https://github.com/google/iosched/tree/master/android/src/lpreview/res/layout-v21

Resources