{"action":"opened","number":745,"pull_request":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/745","id":53830629,"html_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/745","diff_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/745.diff","patch_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/745.patch","issue_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/745","number":745,"state":"open","locked":false,"title":"Opengraph facebook","user":{"login":"ludivinecp","id":12518762,"avatar_url":"https://avatars.githubusercontent.com/u/12518762?v=3","gravatar_id":"","url":"https://api.github.com/users/ludivinecp","html_url":"https://github.com/ludivinecp","followers_url":"https://api.github.com/users/ludivinecp/followers","following_url":"https://api.github.com/users/ludivinecp/following{/other_user}","gists_url":"https://api.github.com/users/ludivinecp/gists{/gist_id}","starred_url":"https://api.github.com/users/ludivinecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludivinecp/subscriptions","organizations_url":"https://api.github.com/users/ludivinecp/orgs","repos_url":"https://api.github.com/users/ludivinecp/repos","events_url":"https://api.github.com/users/ludivinecp/events{/privacy}","received_events_url":"https://api.github.com/users/ludivinecp/received_events","type":"User","site_admin":false},"body":"Issues #547 \r\n\r\nWe create a helper to allow older rails version to run opengraph images (http://api.rubyonrails.org/classes/ActionView/Helpers/AssetUrlHelper.html#method-i-image_url).\r\nFor groups and shops we set up specific image, title and description, for everything else we have the default one.\r\n\r\nPossible improvements : \r\n- Better default image quality.\r\n- Enterprise logo upload need to be up to 315 x 315, instead of 100 x 100.\r\n- Default image and description could be set in configuration file","created_at":"2015-12-16T11:42:57Z","updated_at":"2015-12-16T11:42:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/745/commits","review_comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/745/comments","review_comment_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/745/comments","statuses_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/statuses/3eb17aa5e6988c153a34c9da73c90622defa285a","head":{"label":"ludivinecp:ogp-squashed","ref":"ogp-squashed","sha":"3eb17aa5e6988c153a34c9da73c90622defa285a","user":{"login":"ludivinecp","id":12518762,"avatar_url":"https://avatars.githubusercontent.com/u/12518762?v=3","gravatar_id":"","url":"https://api.github.com/users/ludivinecp","html_url":"https://github.com/ludivinecp","followers_url":"https://api.github.com/users/ludivinecp/followers","following_url":"https://api.github.com/users/ludivinecp/following{/other_user}","gists_url":"https://api.github.com/users/ludivinecp/gists{/gist_id}","starred_url":"https://api.github.com/users/ludivinecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludivinecp/subscriptions","organizations_url":"https://api.github.com/users/ludivinecp/orgs","repos_url":"https://api.github.com/users/ludivinecp/repos","events_url":"https://api.github.com/users/ludivinecp/events{/privacy}","received_events_url":"https://api.github.com/users/ludivinecp/received_events","type":"User","site_admin":false},"repo":{"id":47877488,"name":"openfoodnetwork","full_name":"ludivinecp/openfoodnetwork","owner":{"login":"ludivinecp","id":12518762,"avatar_url":"https://avatars.githubusercontent.com/u/12518762?v=3","gravatar_id":"","url":"https://api.github.com/users/ludivinecp","html_url":"https://github.com/ludivinecp","followers_url":"https://api.github.com/users/ludivinecp/followers","following_url":"https://api.github.com/users/ludivinecp/following{/other_user}","gists_url":"https://api.github.com/users/ludivinecp/gists{/gist_id}","starred_url":"https://api.github.com/users/ludivinecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludivinecp/subscriptions","organizations_url":"https://api.github.com/users/ludivinecp/orgs","repos_url":"https://api.github.com/users/ludivinecp/repos","events_url":"https://api.github.com/users/ludivinecp/events{/privacy}","received_events_url":"https://api.github.com/users/ludivinecp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ludivinecp/openfoodnetwork","description":"Connect suppliers, distributors and consumers for the sale and purchase of local produce","fork":true,"url":"https://api.github.com/repos/ludivinecp/openfoodnetwork","forks_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/forks","keys_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/teams","hooks_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/hooks","issue_events_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/issues/events{/number}","events_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/events","assignees_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/assignees{/user}","branches_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/branches{/branch}","tags_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/tags","blobs_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/languages","stargazers_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/stargazers","contributors_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/contributors","subscribers_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/subscribers","subscription_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/subscription","commits_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/contents/{+path}","compare_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/merges","archive_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/downloads","issues_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/issues{/number}","pulls_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/labels{/name}","releases_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/releases{/id}","created_at":"2015-12-12T12:33:52Z","updated_at":"2015-12-12T12:33:55Z","pushed_at":"2015-12-16T10:48:22Z","git_url":"git://github.com/ludivinecp/openfoodnetwork.git","ssh_url":"git@github.com:ludivinecp/openfoodnetwork.git","clone_url":"https://github.com/ludivinecp/openfoodnetwork.git","svn_url":"https://github.com/ludivinecp/openfoodnetwork","homepage":"http://openfoodnetwork.org/","size":28730,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openfoodfoundation:master","ref":"master","sha":"cc4f9dd09b953c444fdd979a778c92f6534285bb","user":{"login":"openfoodfoundation","id":2578987,"avatar_url":"https://avatars.githubusercontent.com/u/2578987?v=3","gravatar_id":"","url":"https://api.github.com/users/openfoodfoundation","html_url":"https://github.com/openfoodfoundation","followers_url":"https://api.github.com/users/openfoodfoundation/followers","following_url":"https://api.github.com/users/openfoodfoundation/following{/other_user}","gists_url":"https://api.github.com/users/openfoodfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/openfoodfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfoodfoundation/subscriptions","organizations_url":"https://api.github.com/users/openfoodfoundation/orgs","repos_url":"https://api.github.com/users/openfoodfoundation/repos","events_url":"https://api.github.com/users/openfoodfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/openfoodfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":6257856,"name":"openfoodnetwork","full_name":"openfoodfoundation/openfoodnetwork","owner":{"login":"openfoodfoundation","id":2578987,"avatar_url":"https://avatars.githubusercontent.com/u/2578987?v=3","gravatar_id":"","url":"https://api.github.com/users/openfoodfoundation","html_url":"https://github.com/openfoodfoundation","followers_url":"https://api.github.com/users/openfoodfoundation/followers","following_url":"https://api.github.com/users/openfoodfoundation/following{/other_user}","gists_url":"https://api.github.com/users/openfoodfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/openfoodfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfoodfoundation/subscriptions","organizations_url":"https://api.github.com/users/openfoodfoundation/orgs","repos_url":"https://api.github.com/users/openfoodfoundation/repos","events_url":"https://api.github.com/users/openfoodfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/openfoodfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfoodfoundation/openfoodnetwork","description":"Connect suppliers, distributors and consumers for the sale and purchase of local produce","fork":false,"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork","forks_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/forks","keys_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/teams","hooks_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/hooks","issue_events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/events{/number}","events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/events","assignees_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/assignees{/user}","branches_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/branches{/branch}","tags_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/tags","blobs_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/languages","stargazers_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/stargazers","contributors_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/contributors","subscribers_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/subscribers","subscription_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/subscription","commits_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/contents/{+path}","compare_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/merges","archive_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/downloads","issues_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues{/number}","pulls_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/labels{/name}","releases_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/releases{/id}","created_at":"2012-10-17T07:56:23Z","updated_at":"2015-12-15T09:34:54Z","pushed_at":"2015-12-16T10:42:27Z","git_url":"git://github.com/openfoodfoundation/openfoodnetwork.git","ssh_url":"git@github.com:openfoodfoundation/openfoodnetwork.git","clone_url":"https://github.com/openfoodfoundation/openfoodnetwork.git","svn_url":"https://github.com/openfoodfoundation/openfoodnetwork","homepage":"http://openfoodnetwork.org/","size":35027,"stargazers_count":102,"watchers_count":102,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":195,"forks":58,"open_issues":195,"watchers":102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/745"},"html":{"href":"https://github.com/openfoodfoundation/openfoodnetwork/pull/745"},"issue":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/745"},"comments":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/745/comments"},"review_comments":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/745/comments"},"review_comment":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/745/commits"},"statuses":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/statuses/3eb17aa5e6988c153a34c9da73c90622defa285a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":1,"changed_files":6}}