skip to Main Content

The provided image file is invalid. Please check your image path again. Facebook Graph Api error

I am trying to upload image to Facebook graph api with Http Client of Laravel. But I am getting the error mentioned before. $ad_account_id = env("AD_ACCOUNT_ID"); $access_token = env("ACCESS_TOKEN"); $image = $request->file('image'); $response = Http::asForm() ->withHeaders(['Content-Type: multipart/form-data']) ->post('https://graph.facebook.com/v14.0/act_' . $ad_account_id…

VIEW QUESTION

Facebook SDK : 'Apps that target Android API 30+ (Android 11+) cannot call Facebook native apps unless the package visibility needs are declared'

I use the Android Facebook SDK. I get the following message in Logcat: com.facebook.internal.NativeProtocol: Apps that target Android API 30+ (Android 11+) cannot call Facebook native apps unless the package visibility needs are declared. Please follow https://developers.facebook.com/docs/android/troubleshooting/#faq_267321845055988 to make the…

VIEW QUESTION
Back To Top
Search