"OAuthException", "message": "Application Validation Error."

it worked fine until 4 days ago, now I get an error when I try to post a video on YouTube (or even my own).

Reading user IDs from list.txt and sending them videos Posting video to user ID: me {"error": {"type": "OAuthException", "message": "Application validation failed." }}

I get the same error with the application that I created in my facebook friends account while trying to do the same.

Does anyone have an idea why this is so and what can I do to fix it?

Thank!

+5
source share
2 answers

I recently started this problem for some of my users in my application. This is because the database field for storing oauth tokens was limited to 100 characters, which in the past was long enough for facebook tokens. Later tokens are sometimes longer.

Just guess ...

+1
source

I also started getting this on working code. I traced the API URL that the PHP SDK calls and it has an access token. Errors of the PHP SDK with the "active access token should be used ..." and calling the URL that it is called manually lead to "Application Validation Error.

0
source

All Articles