It's actually quite simple, just generate the page's url and add it to the generic fb-sharer and twittershare url (and link it with a button image hosted on the AGS server so they can't spy on you).
one more thing atm, on the last change on the credits you somehow messed up (got rid of) the wordwrap (cutoff!) for longer game titles. This destroys the layout again. Mostly when expanding the other games of the last person in the credits, check the last game I linked above somewhere.