Topic-icon Issue With Posting To Facebook From JomSocial

Active Subscriptions:

None
9 years 11 months ago #43781 by isrndu
Before this change, only one post from JS got posted to Facebook, but now nothing is being posted to Facebook. My installation spec is J2.5.20 and JS3.0.4. Also, as at the last I checked, the last text post from my Facebook account was imported into my JS profile.
I hope this info helps.
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #43867 by isrndu
I was hoping to have gotten some feedback for this issue by now. Please what's the way forward?
The topic has been locked.
Support Specialist
9 years 11 months ago #43871 by alzander
Very sorry for the delay. Facebook decided to make a big update, and that's caught us up a little more than we'd like.

I have one more minor code change for you to make, now that I know you're on JomSocial 3.0. This has been tested and should get you going. Please edit the same /plugins/socialprofiles/jomsocial/jomsocial.php file. At the bottom, you'll see the following line:
if ($privacy && ($privacy <= $level))
Please update that to:
if (isset($privacy) && ($privacy <= $level))
Please test and let me know how it goes. Also, please note that the status will only post to the user's Timeline if they've set the status update to Public. It looks like your site defaults the status updates to "Friends", so I wanted to make sure you were aware of how you need to test.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #43875 by isrndu
Hello Alex, I've made the changes and just posted a status with my privacy set as 'Public' and it still didn't post it to my facebook timeline. Any other ideas what could be wrong?
The topic has been locked.
Support Specialist
9 years 11 months ago #43882 by alzander
Honestly, no. From here, we'd need to investigate your site configuration to see what's going on. Can you Private Message me admin credentials for your site so we can understand things a bit better? You can PM me by clicking the mail icon under my name to the left.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #43934 by isrndu
Hello Alex, I've already sent out my details. I hope you got them?
The topic has been locked.
Support Specialist
9 years 11 months ago #43942 by alzander
I just logged into your site and created a JomSocial update and set the Privacy to "Public". That post was successfully pushed to my Facebook Timeline.

It was a simple post of "Test Post", but fully worked as expected. Have you tested again doing the above since you made the the update to the jomsocial.php file?

Would love to hear your results because, as of now, we can't recreate this issue whereas we were definitely able to do so before.

Keep me posted.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #43946 by isrndu
Thanks Alex, I just did some test and here's what I found out; the first 2 posts I made were posted successfully to my facebook timeline but the 3rd and 4th were not posted. This brings me back to the question I asked earlier, is there a limit facebook has set for posts made from APIs?
The topic has been locked.
Support Specialist
9 years 11 months ago #43954 by alzander
Glad to hear some posts are going through. There is rate-limiting. It's a convoluted answer though as there's not a specific '10 requests per minute' type guideline. You can find the full information below. The limits are based off of the amount of users of your app and the specific requests being made:
developers.facebook.com/docs/reference/a...i/api-rate-limiting/

In general though, I can't imagine '2' is the rolling limit for your app. That seems ridiculously low and not something we've heard of before. At the bottom of that page is a Troubleshooting guide which you can use to see which calls, if any, have been rate limited.

The other possibility is if you're making the exact same post. If so, JFBConnect won't make that post. We won't try to duplicate posts for you, so ensure each of your posts has unique text.

Let me know if you find anything out with the rate limiting or narrow down specific cases where things fail. We'll gladly help however we can.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #44186 by isrndu
Hello Alex, I've been away for a while and so couldn't follow up with this troubleshooting. I followed the instructions and checked for errors but could only see 2. However, I couldn't see the cause of these errors. I wouldn't mind if you take a look at it for me.
Do I send you the details via IM?
The topic has been locked.