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

Signup/login with facebook node js api

I've building an api backend for a mobile app built with react-native. And mobile developer has provided a json data file by mobile developer with the following data format. { "firstName": "John", "imageURL": "https:link-to-image.com/file.jpg", "lastName": "Joe", "linkURL": null, "middleName": null,…

VIEW QUESTION
Back To Top
Search