Action for delete some posts jomsocial - joomla2.5

I'm building a website using Joomla 2.5, JReviews and Jomsocial 2.6.2.
Here is my big problem:
userA is friends with userB and userA decides to post something to userB's wall. The big problem is that userB can't delete that (and it's a very big problem if is something nasty).
I tried to change and adapt some code but with no solution. You can see this on Jomsocial demo: Jomsocial demo
I think these files control the deleting and hiding activities. You can find them here:
Activity 1
Activity 2
Activity 3
It would help a lot if someone has experience with Jomsocial and knows how to resolve this issue.

Related

Android Java - Implement a Facebook like button

Good morning!
By search on web I read that Facebook Like Button is now deprecated.
There is an alternative?
I would like to make a button that when user clicks on it, the app's Facebook page will be liked and the user rewarded with the app's coins.
Is it possible?
Thank you and sorry for my terrible English.
Incentivizing/Rewarding users is not allowed anymore. A few years ago, Facebook changed their policy about that:
4.4. Only incentivize a person to log into your app, enter a promotion on your app’s Page, check-in at a place, or to use Messenger to
communicate with your business. Don’t incentivize other actions.
Source: https://developers.facebook.com/policy/
Withouth the user_likes permission, it is not possible to detect if a user liked some Page anymore anyway. And you would not get that permission approved in the neccessary review process for a use case that is not allowed, of course.

App not getting data from Graph API anymore & problems filling out for review

Take a breath... it's a very specific question, not directly a bug.
(But I can't get an answer from Facebook, after thousands of FAQ pages I somehow landed in a chat with Facebook Advertisers Support, they told me to come here.)
Description of my app
I have a Facebook Page, on which I'm sharing events from some other Facebook Pages I'm cooperating with. Kind of an event aggregator. The main goal is to help people who are new in town to find all that interesting events and the groups and pages they are organized by.
As you can imagine, it's based on a server-side application, that collects the upcoming events through Graph API and posts on my own Facebook Page the day before the event.
Of course I had to give the server-side application the manage_pages and publish_pages right. This Facebook App will never be used by an end-user, I'm the only user and I'm only posting to my own Facebook Page.
The server-side application worked fine for more than a year.
I just started a Facebook Ad Campaign and poster and flyers are currently being printed. And now...
What broke
You all heard of Cambridge Analytica. Due to these bad guys Facebook is currently changing a lot. One change was this:
As we begin enhancing our new app review process and make changes to our platform, the Events, Groups, Pages and Instagram APIs will no longer be available to new developers. Testing of our more robust process starts today and the new process should resume in a few weeks, but apps currently accessing Events and Groups APIs will lose access today. Going forward, access to these APIs will require a formal app review and for apps using the Pages API, submission is required within 90 days once app review resumes or access will be removed.
(See https://developers.facebook.com/blog/post/2018/04/04/facebook-api-platform-product-changes)
Since nearly two weeks my server-application can't fetch events. Graph API is always returning an empty array data: [].
I have full understanding for this. Now I tried to follow these new requirements and had a look on how to submit my App for review. But that's where my struggles began:
The specific problem
The whole form for applying for review is aimed to Apps for end-users, not server-side bots.
I should provide details on why I'm using manage_pages or publish_pages. Well okay...
When selecting "automated posting" there immediatly a message pops up, telling me, that this is not allowed. Of course it is not - for applications that post in the name of persons without their knowing and aggreement. But my App is posting in the name of my own Facebook Page and I'm the only user and I'm knowing what's going to be posted. So I have to select "Other" and enter a custom description. No problem.
But at the end of the form there's asked for a Screencast! What should I make a movie of? Should I make a slideshow of my code? I can't save this form without that Screencast.
I want to be conform to the new Facebook processes, but I simply don't know how to become approved nor at least fill out for review...
I know this is not a programming question but Facebook directed me here.
So I hope I find a Facebook official or Facebook developer here. Thank you so far!

Facebook API issue in Unity3D - "feature isn't available right now"

I am making a game for Facebook. There is a feature for sharing resources (Life) like Candy Crush.
When I'm making call to FB.AppRequest, I'm getting
Sorry, this feature isn't available right now. An error occurred while processing this request. Please try again later.
It's happening only for the common users and not for the admin & Testers.
And I'm facing this problem for a month. Show me a direction to resolve this issue. Thanks
Spent 3 hours looking for this, indeed the correct Object ID is here: https://developers.facebook.com/tools/object-browser
Facebook, update your documentation !

how to test facebook application with extended permissions, without asking for review

i have read all the answers ( i could find on the matter), and they say, if you are a developer, tester or admin of the application, you should be able to test the app without any problem. I have tried as a admin of the app, developer, tester etc (all the roles given in the developer dashboard) no luck, next i have tried with the test users, still no luck, when i ask the user for the permission (publish_stream), the popup always says
Submit for Login Review Some of the permissions below have not been
approved for use by Facebook.
I have setup the "privacy policy link", i have uploaded the application icon, entered the application description, still no luck. in the mean time, the other two permissions i ask (user_photos and email) work with no problem.
I can't get what i am doing wrong. has anyone had problems like this?how did he manage to solve them? any help will be much appreciated.
P.S the only thing i haven't tried is to submit the freaking app for review, but the app is far from done, so i think, the review will be rejected
You really don´t need to go through the review process for testing, unapproved permissions work for every Admin, Developer or Tester of the App. publish_stream is deprecated though, what you probably want is publish_actions.
If it still does not work with an Admin/Dev/Tester and the publish_actions permission, i´d suspect a bug. In that case you could report it: https://developers.facebook.com/bugs/

Removing/Unlink site root link that appears under title link in like/share wall posts

Our site deals with affiliate marketing, so we need to ensure that the affiliate that shares a page from our website gets credit for any retail sales that are made from that person sharing the site on his/her facebook page. We have the link working perfectly, so that is not the problem. The problem we are having is when someone clicks the like button on a page and adds comments the title of the page is correctly linked, but there's also a link underneath the title that is linked to the site root without the affiliates info attached. From looking at several posts on my own facebook page I've noticed that a few sites have their site "greyed out" or unlinked. I checked the source of these pages and was not able to find a clear solution to how they were able to accomplish this. I even went as far as contacting one of the sites and they said that they were unable to give that type of information out.
Does anyone know how to accomplish this?