How to use facebook mentions via API? - facebook

How to use facebook page mentions via Graph API?
I'm admin of the page and admin of the app, trying to mention page with # syntax on its feed.
POST 1111111111111/feed/
{
message: "Hello #[1111111111111]"
}
In this way, mention just striped. I'm tried to use my personal token, app token, page token. I have rights to publish_page, manage_page.
I tried to use #pagename, #[pagename], #page-id, #[page-id] etc...
What I'm doing wrong?
Thank you.

I get answer from Facebook support, they told us app should be in development mode to test this feature:
I have confirmed with the engineering team that the reason you cannot
use the Page Mentions is because your app is in Live mode, but it
hasn't been approved for that feature. The docs are a bit confusing, I
agree. According to the docs: "Usage of this feature is subject to
review. To test before review, use Pages you are an admin of (both to
make the API call, and to be used in a mention) and an app of which
you are a developer."
What this means is that you can test the feature while in Development
mode, but once the app goes Live, the feature will not work. In Live
mode, only features/permissions that your app has been approved for
will work. You can still submit an app that is in Live mode for app
review. Please see the Submission Tips for App Review for Live Apps:
https://developers.facebook.com/docs/apps/review/#submission-tips

Related

Facebook API - Need publish_pages and manage_pages but Failing Review

My code is working properly in dev mode, but I can not get approval to use publish_pages or manage_pages. I keep failing every review.
The problem is that the software is to be ran as a cron job and there's really no user interface. This is for an auction website and we want to post a summary of auctions for the next day in our feed.
For some reason they keep saying:
Your screencast doesn't show how the use of this permission directly improves the user experience in your app. Unfortunately we also weren't able to determine this from testing your app manually
Right now, if I have the app in dev mode the post submits successfully, but only my user account can see them, so I've been having to leave dev mode on, let the app post, and then turn the app live.
This is less than ideal. Is there any 3rd party application that has already been approved I can use to post to our facebook page?
It seems like the magic is making sure to mention "this is a server to server application with no user interface" is all that's required to get your app approved. After doing that, it went through without an issue.

How to let FB test login before it goes live?

I'm setting up facebook login for my website. I've got it working w/ a test app on my dev server. I'm getting ready to ask facebook for approval, but there's something I can't figure out. They want instructions on how to access facebook login on my site. It says:
Please provide step-by-step instructions in English that show how to access Facebook Login.
Well the problem is you can't get to facebook login on my site right now. I'm not going to add that functionality to my live site when my app still isn't approved. Anyone know how to deal with this? Do I have to give facebook access to my dev site? And point dev to the production app?
Facebook needs to be able to test it for review, so there must be a way to access it for them.
That being said, why do you even want to go through the review process? You only need to go through review if you need additional permissions. A basic login does not need to get approved.
You can read all about review in the docs: https://developers.facebook.com/docs/facebook-login/review

Facebook keeps rejecting application

My company's Facebook app has been in operation for a few years, but with the recent API upgrade, Facebook now requires apps to be submitted for approval if you need certain permissions.
This app adds a page tab, which requires the manage_pages permission. Facebook has rejected the app several times, providing the following reason:
We could not reproduce the requested permission. Please submit
detailed, step-by-step English instructions in the "Add Notes" section
of the permission, and make sure to provide the relevant version of
your app.
Things I've done:
provided step-by-step instructions, with supporting screenshots for each step
had multiple people test those steps to ensure the login process and page tab work as expected
read through all of the supporting documentation and submission articles
Unfortunately, Facebook provides no option to contact their reviewers.
Has anyone else hit a wall when submitting a Facebook app for approval? And if so, were you able to figure out the issue or contact the reviewer?
That's unfortunate... I think there have been such cases. If you think everything is correct with your review submission, I'd recommend that you post a message to https://www.facebook.com/groups/fbdevelopers/ There are FB engineers monitoring the group, I guess they could give you some help or contact the right persons.
Good luck!

"Hardware-based" facebook app

For my company I am developing an automated photo-booth. The goal is to capture a photo and after a quick review publish the photo to the company's Facebook page, all automated.
To this end I registered an app, and the application is conceptually done and works.
However only the developers of the app can see the photos, which seems to be because the app is not "reviewed by facebook" yet.
When I read what is required to get it reviewed, facebook needs to be able to test and verify the app. This is however impossible because the app only works in combination with the hardware on site, and it is not meant for anyone else to use it.
Am I solving this the right way? Can it be approved just for some users, like a "private" app? I'm not sure where to go from here.
If no user authorization is involved and you only use an Extended Page Token for that Page (that is valid forever), you donĀ“t need to go through review. Just set the App to public in the "Status & Review" section of your App settings.
The App will work without review for everyone with a role in the App (Admin, Developer, Tester).

Creating a Test Facebook app with publish action permission?

I see that Facebook has made a lot of changes in their API and working structure of those for creating the FB application for Web/IOS/Mobile.
I am creating a facebook app with my FB developer account to get the Test App's API secret credentials.
With this app I need to test the feature of Publish_ations (Ex:- Post on pages/wall,sharing),but that feature is not enabled for Test App API.And if we want to enable that then we may have to submit the review with some details.In those details they are asking for the steps to test the feature that we will provide in our Application.They need the snaps of pages where that FB feature will be and ETC of info.And that whole process will take upto 7 days.
I am confused that if my application is in progress and that FB feature we are planning to develope then How should I give the steps to test the Feature on our website before creation of that Feature.
Is there any information that I am missing from FB docs for testing enviornment with Publish Action permission.
Please help me I have already wasted 7 days (Tried the review submission process of FB and they have rejected that because of incomplete application and information)
Thanks in advance!!
You're confused. The login/permissions related things works as it was in v1.0 ; just the difference is that you need to submit for review after the app is ready. But that's the last step.
I think you're using the API for the first time, so you may not be aware how exactly to add the permissions in your app. The permissions are added using the scope parameter in the login code. See the details here..
For example, if you're using the JS SDK-
FB.login(function(response) {
// handle the response
}, {scope: 'email,user_likes'});
similarly its done for the other languages.
After adding the permission the admin/developers/testers of the app can test the application and publish posts; while app is in development mode. And this is just similar how we used to do in v1.0.
When your app is ready (the last step), submit your app for the login review (this step wasn't present in the v1.0, you just needed to make it live). After they approve your app with this permission, you can make your app live and everybody can publish post using your app. That's it.