Been experimenting with the instagram-ruby-gem on and off for a few days - no matter what I do, when a try to create a realtime subscription, I get https://api.instagram.com/v1/subscriptions.json: 400: Unable to reach callback URL - I can always reach the URL with a web browser and I ve tried exposing the url with both localtunnel and heroku with no success. Are there other issues that will produce this same error message? Any other ideas?
def sub
client = Instagram.client
client.create_subscription(
:object => tag ,
:callback_url => root_url,
:aspect => "media",
:object_id => "pizza"
)
end