I have come across a problem whilst using the next_post_link() function.
It seems that this function automatically echo’s, for position reasons I need this to just return the link. Is there any available function or workaround that I can use to achieve this result?

3 s
try to work with http://codex.wordpress.org/Function_Reference/get_adjacent_post;
example:
$next_post_link_url = get_permalink( get_adjacent_post(false,'',false)->ID );
$prev_post_link_url = get_permalink( get_adjacent_post(false,'',true)->ID );