Facebook dialog share - facebook

We have an app that when our users click share we then forward the user to facebook.com/dialog/share to share our link.
I need to add this to email and I'm trying to test. Is there a way to test and see the actual post without having to post to my FB account? I want to post the message and link and then test clicking the link on the post without having to post to my personal FB account

Related

Facebook App Review Page Public Content got rejected due to bad screencast

I want to create a website where users can like one-another's Facebook page posts and get points. After getting points, they can use these points to add their own Facebook page post. When users want to add their post from their page, they select their page and all their posts are displayed so that they can easily choose which post to add. For this purpose, I made use of the Page Public Content Access feature. However, when I submit my app for review I am getting the following:
Not Approved
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.
All permissions data must be visibly used within your app. We do not accept permission requests for data that you may decide to use later.
Please see our Examples page to learn more about making and submitting a successful screencast.
Learn more about testing permissions prior to approval.
but I can't find what is wrong with my submission. I would be glad if you can help. This is how my submission looks like:
Tell us how you're using this permission or feature
My app is for new starters who want their Facebook page to address greater audience. In this app, users can earn points liking posts of one-another's Facebook pages and use these points to advertise posts of their Facebook Pages. I use Page Public Content Access to help people choose post from all posts that they shared in their Facebook Page. They choose post that they want to display in my website and in this way this post addresses greater audience. First, user chooses his or her Facebook page which the post belongs to, then, all the posts of this Facebook Page are displayed using Page Public Content Access, so that they can choose easily. They choose the post that they want to add to website.
Demonstrate how your selected platforms will use this permission or feature
1.Click Login in Home page
2.Click Facebook and Login your Facebook
3.Confirm your Username
4.Click Facebook in navbar and Choose "Add Post"
5. Choose your page in which you shared the post
6. Click "Choose Post" which will display your posts where you can select the post which you want to add to the website
7. Choose 10 Points and click Add Post
MY SCREENCAST VIDEO:
https://youtu.be/cFTXz8o5cqo
EDIT: I am using page access token:
PICTURE SHOWING THAT I AM USING PAGE ACCESS TOKEN

post a comment on facebook wall after submitting a button on my website

Is it possible to post a comment on users facebook wall after submitting a button on my website?
On my web page users can review certain products and after they review them the press on ‘submit review’ button. I want to make the review report to be published on the user’s facebook feed.
Thanks in advance,
For a normal post, you can use the Feed dialog – this does not require that the user connect to your app first.
If you want to post via API in the background, then you have to have the user login to your app first.
If you do not want a normal post, then look into Open Graph actions: https://developers.facebook.com/docs/concepts/opengraph/

Fetch username on clicking link that is posted via feed dialog?

I wanted to fetch username / id of the facebook user who has clicked on the link which is posted via feed dialog on his wall/ friend's wall.
Is there any way to accomplish this?
Currently we pass a static link to the post feed dialog api. Is there any mechanism to make this link fb-user-specific?
No, without authorizing the user, there is no way you can get any personal data (that includes the id). That´s for privacy/security reasons.
It is also not possible to use a dynamic link which is dynamic for every user that clicks on it.

Applying for Open Graph Action which includes User Messages

I have been trying to get "Comment" action approved from Facebook, The action requires users to submit a message when they click on the Comment button.
The link can be found here http://sample.fandrop.com/timeline/comments.html
Here's what I have provided as steps to reproduce the action when User Messages checkbox is checked
Step 1- Visit http://sample.fandrop.com/timeline/comments.html
Step 2- Login using your facebook account
Step 3- Once logged in user will see a picture with a textbox and a comment
button
Step 4- User can then enter comments and click on Comment button to publish it
on their timeline
Step 5- User will be shown Post ID when its successfully shared on facebook
Is there anything that I am missing here ??
Provide a test account Facebook can use. Use the Test Account tool from the App Settings screen to provide an easy login URL.
Give an example URL to a page they can comment on easily. It will speed up the approval process.
The user doesn't need to see the post_id. It has no meaning to them. You should show a confirmation message instead, e.g. "Your comment has been posted successfully".
Is there an easy option for the user to remove their activity from facebook once shared? This is a requirement for any custom action. Is there functionality that lets the user turn-off comment sharing to Facebook? This is also a requirement.

Post on a company facebook page wall on behalf of a user

I have a wp7 app that connect with facebook and lets assume i have the users access token
I am wondering if it is possible to write on the wall of some company facebook page as the user. (i have no ownership of the facebook page and not affiliated with it in any way)
If it is, do you know which permission do i need to obtain ? would love to get any kind of code snippet or a direction i should follow.
Thanks.
it's not possible to write on the wall on behave of the user. You always get a token in the context of a Facebook application - so it will be the app posting on the wall, not the user. And the maximum permission app can ask a user for is publish_stream which allows you (your app actually) to:
Enables your app to post content, comments, and likes to a user's
stream and to the streams of the user's friends.
so in order to post to the company wall, you need to:
Request publish_stream permission from the user
Issue a post request to https://graph.facebook.com/<>/feed url with your message
It's really easy to test. Go to https://developers.facebook.com/tools/explorer, click on "Get access token", select "publish_stream" permission in "Extended" tab, set action to POST, enter "LGUSA/feed" into URL field, click on "Add a field", enter "message: test" and click POST. You will get ID of your post back. See screenshot attached
Sorry this is going to be a bit vauge, but here goes:
First the user is going to have to be authenticated to facebook. There is a good example here. This will give you an authentication tolken to allow you to interact with the API.
The user is going to need facebook permissions to write to the wall. Facebook permissions are described here. I don't know about the specifics of your problem, but with more details I may be able to help more.
then you shoud be able to post to the appropiate wall using the facebook graph api (you'll probably need to be signed up to facebook with a developer account to get to this page).