Take the 2-minute tour ×

when using the FB JS SDK "feed" method... the facebook generated popup placed at the very top of the window and automatically forces to window to be scrolls to the top as well.

if the user is at the bottom of a webpage and "feeds" and opens the dialog box... they will jump to the top of the page... which ruins the experience.

any fixes here?

the issue is NOT an anchor tag with a href="#". I have tested this. The issue is when the window is displayed from facebook.

please help!

share|improve this question
add comment

1 Answer

I'm not experienced with feed method, in my apps i have fix text to post, when user click on a certain button.

My javascript code snippet is the following:

    function post()
                        message: 'MESSAGE_TEXT',
                    }, function(response) {
                        if (!response || response.error) {
//I use javascript here to change the button image, for posting error
                        } else {
//I use javascript here to change the button image, for successfull post

Maybe not the best solution, but its still working for me, and i don't have any popup window or something like that.

Hope this helps with your problem.

share|improve this answer
add comment

Your Answer


