Is there a way to distinguish between comments that are already approved and published and comments that are not yet approved?
I have a video where the option that only approved comments are shown.
Now i call the commentThreads route in the youtube v3 data api with the option moderationStatus = heldForReview
I now get all comments that are held for review and waiting for approval as well as all comments that are already approved but have at least one reply that is not.
My problem is that I found no way to distinguish between both.
Related
I'm in the process of upgrading an existing iOS IAP subscription system that already makes use of App Store Server Notifications. My existing solution is using the now deprecated latest_receipt, latest_receipt_info, latest_expired_receipt and latest_expired_receipt_info fields. According to Apple, these fields are now all replaced with the single unified_receipt field.
After watching all the required WWDC videos and sifting through the little documentation available I'm still left with a few unanswered questions.
The latest_receipt_info field is documented as:
An array that contains the latest 100 in-app purchase transactions of the decoded value in latest_receipt.
This means that this array will contain the customer's entire transaction history. This will not only include the relevant subscription but also any transactional products the customer may have purchased.
My question here is how can I find the relevant transaction in this array? The relevant transaction in this case would be the one that triggered the event (e.g. CANCEL). I need this transaction in order to update our backend database to reflect the current subscription status. For example, to update the subscription end date to the cancellation_date on a CANCEL event .
I have a similar question regarding the pending_renewal_info array. It's unclear to me from the existing documentation if all customers with an active (or maybe even expired?) subscription will always have an entry in this array.
An array of elements that refers to auto-renewable subscription renewals that are open or failed in the past.
I also need to find the relevant transaction in this field to do things like toggle the subscription status on a DID_CHANGE_RENEWAL_STATUS event or update the billing status on a DID_FAIL_TO_RENEW event. From the docs it doesn't look like there is enough info in the pending_renewal_info alone to compute the current subscription renewal status.
Overall my question really boils down to:
Can I be sure that there will be an entry in both unified_receipt.latest_receipt_info and unified_receipt.pending_renewal_info that matches the top level event auto_renew_product_id? And if so how should I find the relevant object in the respective array? Will there only be a single entry for each auto_renew_product_id or should I search the array and pull out the first match?
I found out that the transactions inside unified_receipt.latest_receipt_info array are ordered by purchased date from the latest to the oldest. And sure that you can found out the the top level event auto_renew_product_id.
However, for updating the subscription status or billing status, I utilize the return value from /verifyRecipt, which you can get by requesting to the Apple verifyReceipt server with receipt-data and password(https://developer.apple.com/documentation/appstorereceipts/verifyreceipt). Noted that the input receipt-data is unified_receipt.latest_receipt, and the responses share the same structure as unified_receipt.
I'm willing to access the top news available in the Apple News app, but it seems the related API only allows users (publishers) to access the content of their own channel. Does someone know a working endpoint or have any other idea to help me reach my goal (maybe a complete lists of channels' IDs currently allowed in the app?).
You are absolutely correct that the purpose of the API is for content creators:
Use the Apple News API to publish and manage Apple News Format
articles.
It does not provide a way for developers to distribute articles from other content creators. For iTunes, Apple's own in-house news, and for Movie trailers, RSS feeds are available. There is even an RSS refiner for iTunes but currently no Apple News equivalent that I am aware of. Whether in future Apple News will be supported in this way I don't know, it will be depend on how they handle the rights of creators.
I am looking at developing an app in which users can take a picture from their phone, and it will be uploaded to a forum page where everyone on the app can view it.
Since the user could possibly post offensive images and content, will Apple reject my app because it has the potential for users to post offensive content?
What are the "rules" and "guidelines" behind users being able to post content without filters to a forum page where it can be viewed by other users?
Will Apple accept my app if I make it r18?
Thanks.
It's been a few years since I posted just such an app.
I set it as appropriate for all ages, and the app review team contacted me for exactly the reason you mention.
I pointed out to them that the online gallery would be curated, so that I had to approve each picture before it would be available to users.
They allowed it through with that assurance.
Is it possible to check how many subscriptions a channel has made?
I have been looking around in Youtubes API without any success.
Note: I am not looking for the amount of subscribers but the amount of subscriptions.
https://www.googleapis.com/youtube/v3/channels?part=statistics&id=ID&key=KEY
The above call returns for example the amount of subscribers which I don't need.
You can use the following request to get the subscriptions made by channel. As you need only count I'm using part=id.
https://www.googleapis.com/youtube/v3/subscriptions?part=id&channelId={YOUR_CHANNEL_ID}&key={YOUR_API_KEY}
Then look for the 'totalResults' attribute to get the count of subscription made by the channel
BACKGROUND
I'm helping a 3rd party host 3 apps that they paid me to write (they've given me access to their Apple credentials - created expressly for this app - in order to manage the iTunesConnect process).
Because of this, I get access to all of the sales data, etc. through iTunesConnect. We currently have all 3 apps released, two of which are first-time releases and one of which has been on the store for a few months and updated a couple of times. The first app was initially released with a $1.99 price point as an introductory price, which went up to $3.99 after about a month.
ACTUAL QUESTION
I just got my daily report from AppFigures.com (highly recommended, by the way; it's a relatively cheap way to get a good amount of automated data and analytics about app sales), and I noticed that app #1 had 3 refunds yesterday. We've only had 7 refunds ever, and all 3 of these refunds were originally purchased at the $1.99 price point. Therefore, this has made me very curious as to why they got the refund NOW. We had bugs earlier on that have subsequently been resolved by updates, so I don't understand why someone would have a legitimate reason to ask for and receive a refund at this point.
Please note: I'm fully aware that I'll never get the information to tie back directly to the user. I understand why, but it's a bit of a shame (and it's why we included a voluntary contact/feedback mechanism in the app itself). I'm just wondering if I can see from Apple the reason they selected for requesting the refund.
Basically, I'd like to answer the following question:
"Why did Apple think it was justified to refund this user's money?"
I'm guessing it would be a helpful piece of information for us; if there's something wrong with the app and we're not aware, this could help us fix it. Does anybody know how/if that information is available?
I did what Injuanj suggested and contacted Apple directly.
Here's their (completely unhelpful) response:
Thank you for contacting us about your Sales and Trends reports.
I understand that you are wanting more information regarding refunds.
You can find Refund information for your content by filtering your Top
Content dashboard to Transaction Type > Refund. Refunds will be
indicated as negative values.
Apple does not provide customer or refund information at this time.
If you have further questions regarding your sales reports, please let
us know. We're happy to help.
Best regards,
Julie
iTunes Provider Support
I already knew how to view my refund/return count, which is how I knew to send the email in the first place!
I didn't ask for customer information. I know Apple's not going to give that. Duh. I actually specified this in my original email.
I guess the real answer here is this:
Apple does not provide customer or refund information at this time.