What happens when a user clicks "Stop Publishing Activity from <appname>" and "Remove <appname>"? - facebook

I've noticed on Facebook that posts that have been made from a 3rd party app have the above mentioned menu options when clicking the "Edit or Remove" button in the top right corner of each post on your timeline.
I am curious what the implications are if a user selects "Stop Publishing Activity from " or "Remove "?
Is there a way to detect when this happens? Does it register data in insights?
Does it just revoke the app's permissions to publish to the user's wall?

Removing an app triggers a call to the callback URL you can set up for exactly that purpose in your app settings.
And stop publishing will just revoke the related permissions, I’d guess.

Related

Cannot get manage_pages publish_pages permission for admin of a Facebook app

I'm trying to develop a Nodejs app that will automatically post images/videos to my page once/twice per day.
When using it in Development mode everything works fine, but after changing the app to Live mode, using the Graph API explorer I cannot get permissions to manage_pages and publish_pages. I'm asking for these permissions as the user with admin roles both at the page and the app.
I've read the documentation, and it seems to me that as an admin I should be able to get those permissions and get a page access token, but I can't.
Is there anyone that knows what's wrong?
Thank you!
To resolve this issue:
Open your Facebook profile (the same one that has been added as an
admin on the target facebook page).
At the top-right of the page click on the down arrow and select
"settings". From the left menu select "Business Integrations".
Look for the app that is linked to the target page and click on the
"View and edit" link.
Ensure under the "Manage your Pages" -> "Pages" title the target
facebook page is selected. Note: You might have to click on "See all
Pages" to see all the pages linked to your facebook profile.
Do the same by scrolling down to the "Show a list of the Pages you
manage" title, you will need it later.
Click on save.
your application will work fine if you stay in development mode.
If you need the application to publish with a cronjob or something similar and nothing else, you don't need to put your application live.
Also, you probably need to get a permanent token, that can be done by following that method :
http://stackoverflow.com/questions/17197970/facebook-permanent-page-access-token

The developers of this app have not set up this app properly for Facebook Login?

I'm trying to make a login with Facebook available in my script. I've done everything, but when I attempt to login with a Facebook account I get this error from Facebook:
Error
App Not Setup: The developers of this app have not set up this app properly for Facebook Login.
Here's error screenshot:
Any ideas?
the problem was you have to set
Do you want to make this app and all its live features available to the general public?
set status and review to ON and problem solved
enjoy coding
With respect to the all the other answers, here's the screenshot to help someone.
Go to https://developers.facebook.com/
Click on the Apps menu on the top bar.
Select the respective app from the drop down.
The circle next to your app name is not fully green. When you hover mouse on it, you'll see a popup saying, "Not available to all users because your app is not live."
So next, you've to make it publicly available.
Click on setting at left panel. [see the screenshot below]
In Basic tab add your "Contact Email" (a valid email address - I've added the one which I'm using with developers.facebook.com) and make "Save changes".
Next click "App Review" at left panel. [see the screenshot below]
Look for this, Do you want to make this app and all its live features available to the general public? and Turn ON the switch next to this.
That's it! - App is now publicly available. See the fully green circle next to the app name.
Since the UI of the facebook has changed recently, here's the latest update for setting the sandbox mode ON/OFF :
Go to https://developers.facebook.com/
Click on the Apps menu on the top bar.
Select the respective app from the drop down.
Go to 'Status & Review' from the table in the left side of the page.
Do you want to make this app and all its live features available to the general public? - Select switch to set YES/NO value.
Update:
The YES/NO button will be disabled until and unless you provide your contact email.
Go to "Settings" in the left menu.
Update your Contact Email.
Hit the "Save" button at the bottom of the page.
Update:
'Status & Review' is replaced by 'App Review' now
If the app is still in private mode (Status and Review set to NO), then only Facebook users with role in the app can login.
That unless you set it to public (Status and Review set to YES).
To add more users to be able to login to a private app:
Go to https://developer.facebook.com
Go to Apps -> "Your app" -> Roles
Choose Add Administrator,Developer or Tester.
Many reasons including:
Sandbox mode is ON
Domain name is different
Site URL is different.
This error also occurs when you try to log in in your test version of the Facebook app and you have not added the user you are trying to test the log in with in the Roles -> Testers section.
To fix it, just add the email address of the Facebook account you are trying to log in with in the section above.
Finally, make sure the user you added accepts the request sent before you try to test otherwise the log in process will fail in the second screen just after the user accept the conditions.
Make Sure in left panel App review tab selected (Your app is currently live and available to the public.) tab is ON and App status is GREEN
Happy Programming
And addition to all these beautifull comments dont forget to Start A Submission
There are a bunch of possible things which could trigger this error:
In your case, you just need to add your facebook account into either tester, developer or admin of your facebook app as you want to use that account to test.
But if you see the error upon clicking connect to facebook(before you have chance to enter facebook credentials), then it means your current facebook account detected from cookie is not a valid tester/developer/admin account for your app.
Your could either add your account in or just hit facebook.com and sign out(to remove the undesired cookie).
I had the same problem but now here is how I solved it
Go to https://developers.facebook.com/
• Click on the Apps menu on the top bar.
• Select the respective app from the drop down.
• Click Settings from the table in the left side of the page
• Then under the Contact Email type in your email you would like to use
• Then click save settings button
• Go to 'Status & Review' from the table in the left side of the page.
• Do you want to make this app and all its live features available to the general public? - Select switch to set YES/NO value.
For other users that run into this issue, the app I was testing against was a test version of our production app and didn't have the option to turn status and review to ON as others have mentioned here.
The fix was to create a new app which is not a test app, and configure it like the production version. The non-test version allows the option to turn status and review to ON.
My specific use was testing a user registered with a phone number instead of an email address. I tried adding that user into different roles of our test app (Developer and Tester), but to no avail. My guess is it has something to do with the user not having an email associated with it.
Here's more info on test apps: https://developers.facebook.com/docs/apps/test-apps
Hemang's answer was right, BUT, there's one extra step you'll need, which is to add a Facebook App ID. (I discovered I was missing this part):
Once you've done that in addition to Hemang's answer, you'll be good to go!
Okay - sandbox is off, domain has to be correct because 99% of the users can reach the app, and "all its live features available to the general public" is set to yes.
Now, You need to add a "Privacy Policy URL" in the App Details tab (developers.facebook.com).
This is a new Policy of Facebook.
This resolved my issue if you do not want to make the app available to the public (keeping Status & Review on NO)
I had to sign out of the previous account on the Facebook App and also remove the Facebook account in Settings. Removing just from the Settings will not remove the error because the App itself still has the previous account logged in.
If you have set your Roles as Administrator/Developer/Tester, you can put in that account login info in and it should work then.
do setup by following bellow link and domain name you need to mention as like wht you have mentioned in facebook app domain name.
Go to https://developers.facebook.com/
Click on the Apps menu on the top bar.
This is because you didn't make your Facebook app live. For this go to:
Facebook developer page->Select your app->you will see top of the right your live option is disable and click to enable it->It will refer to you in "basic setting section"->You have to add "privacy policy url" and "Terms and services url" also you may select app category->then save the setting.
Note: You can use any blogspot or website to make your privacy policy also terms and condition page.Both I gave same url which worked.
after a lot of tries, I've read in other topics which someone said "delete all your apps and create it again". I did that but, as you can imagine, a new App will create a new Application ID on Facebook's page.
So, even after all the "set public things" it didn't work because the application ID was wrong in my code due to the creation of a new App on Facebook developer page.
So, as AndrewSmiley said above, you should remeber to update that in your app #strings
Set LoginBehavior if you have installed facebook app in your phone
loginButton.setLoginBehavior(LoginBehavior.WEB_ONLY);

How do I delete a Facebook app from Facebook?

What is the process to permanently remove an app from Facebook using the Facebook Developer App Dashboard?
I have found only one answer and I don't know if it works: to put it on Sandbox Mode and wait for Facebook to delete it. That doesn't seem right. Apparently it is so easy for someone who has no experience to spam Facebook with empty apps and no visible way to delete them.
Know that I did try to do this myself and couldn't find something like a "Delete this app permanently" button.
Go to the app dashboard
Select the app you want to delete from the list of your apps
Click 'Edit Settings' in the middle of the main part of the page
Click 'Delete App' on the left hand column
Click 'Confirm' when the message pops up asking you to confirm

Can't resubmit Open Graph Action to Facebook

I submitted a watch action for Open Graph approval. It was rejected and the status shows:
Watch - Movie, TV Show, TV Episode - Changes Needed · Get Code
How do I resubmit: "Changes Needed" is not a clickable link and all of the changes were on "my" web site... and I don't see any kind of submit button anywhere for this action.
Please make changes below and resubmit for review.
1.) If your app publishes built-in watch actions for video, you must give users clear, ongoing, and in-context messaging (such as on the page where the user watches the video) that their watch actions will be published on Facebook. 2.) If you plan on using an in-line control, your app needs to explain to users how the control works, including the fact that the app will publish watches to the user's timeline when sharing is enabled. 3.) You must provide users with the ability to remove any video stories you publish to Facebook, and include this option on the same page where you host the video content. 4.) Watch actions may only be published only after the user has watched at least 10 seconds of the video content. Once you have made the appropriate changes please re–submit. https://developers.facebook.com/docs/opengraph/actions/builtin/#watch
The only way I was able to do this was to delete the action and re-create the action from scratch... and then submit it.
You do not need to delete you actions, just go to your action settings and click the "Save Changes" button again. Then you will be able to resubmit your action again.

Is it possible to hide Facebook app activity, so "X friends used it in the past month" doesn't show on hover?

Facebook gives app developers control over whether app activity is published in the stream. Is it also possible to prevent the hover popup from showing friends who have used an app?
You can try a few things:
If you have a canvas app, turn off "Social Discovery":
1. Go to https://developers.facebook.com/apps and select your app.
2. Click "Edit Settings".
3. Click "Advanced" on the left.
4. Scroll down to Canvas Settings and set "Social Discovery" to "Disabled". This is designed to turn off news feed stories like "John used GreatApp." Maybe it turns off the feature you're describing, too. I haven't tested this.
When you are authenticating your users:
Set the default privacy controls to "Only Me". This makes it so any story published from your app has the most restrictive privacy settings possible by default. The user is allowed to edit this on their own, but most will leave it at the default. I don't know if this turns off the facepile on app hovercards, but you can test it to see.
Let me know if either of these works and we can edit the response to describe the correct solution!