By Hector Rodriguez on Monday, 13 July 2015
Posted in Technical Issues
Likes 0
Views 2.4K
Votes 0
Hi guys,

I read through various threads in the forum looking for a solution. Some are similar to my situation, but not quite. So here's my case.

I created a FB app just as the tutorial instructed. Copied and pasted App ID and Secret. When I click "Sign in with FaceBook", I am asked to sign in to FaceBook.

After I sign in, I get an error from FaceBook that reads "Invalid Scopes: user_groups. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions", with an Okay button at the bottom.

Once I press Okay, that popup window goes away and the FaceBook Autoposting shows "Your Facebook account has been linked to the system successfully."

So two things happen:

1.- Under the FaceBook Pages Section, it doesn't give me a choice to Select Pages. (There's have a Fan page beside a Personal page).

2. When I post a new, or try to post an old post, to FaceBook, I get the following error "400 Expected 1 '.' in the input between the postcard and the payload"

I have tried everything I have read in the forum:

1. I have renewed the token.
2. I have revoked access and signed in again.
3. I have revoked access, changed the app secret and signed in again.
4. I have started from scratch and created a new FB app with new App ID and Secret, and signed in again.

Nothing has worked.

I have attached screenshots of the FB error, the FaceBook Autoposting successful link and of the Error 400.

Help please.

Thanks,
Sandro Pichardo
Web Developer for Dr. Rodriguez/Contornos NYC
Hello Hector.

Facebook just released API v2.4 and they removed user_groups permission breaking the authorization workflow.

Can you try replace your client.php with this attachment file in ...\administrator\components\com_easyblog\includes\oauth\adapters\facebook\client.php?

If this issue still persists, can you provide us with your FTP and facebook access so we can directly check this issue?
·
Monday, 13 July 2015 10:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Izzan,

Thank you for the file. It worked perfectly. After I replaced the file, I then revoked access and signed in again. The process from there on was how it should be. I was able to choose my page.

I tried a simple text post and it autoposted fine. But I noticed that it posted a standard image on facebook. So I decided to create a post with a cover image and I got this error "400 (#100) picture is not properly formatted" (See attached image). It posted the cover image with text fine on the website, but it did not autopost on Facebook.

Is the a special format or size for the cover image to be able to autopost on FaceBook? Or is this a bug?

I didn't think of creating a new thread since this still falls under Autoposting on FaceBook.

Thanks
Sandro
·
Tuesday, 14 July 2015 02:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Hector,

I can't login to your site with the provided login credentials. Which version of EasyBlog do you have on the site? If you are not on 5.0.15, can you please download the latest version? It should address the "Image not formatted issue".
·
Tuesday, 14 July 2015 02:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Thanks for responding but I just fix the issue with the image. I started poking around with the client.php file that Izzan gave me and I compared it with the old one. Line 254 on the NEW file was different from the OLD one, it was missing the " true, true". So I edited to match the OLD one and it worked.

Thanks for your time and help. This case has been solved.

Sandro
·
Tuesday, 14 July 2015 06:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Hector.

Glad your issue has been resolved
·
Tuesday, 14 July 2015 10:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post