How can I create an appsecret_proof using Ruby for the facebook graph api?
Facebook has an example in PHP. I also saw an example in ruby in this gist.
I've found another way to generate the appsecret_proof for Facebook:
appsecret_proof
OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha256'), , )
Excerpt taken from this gist thread