# Discourse-github not posting any linkback

**URL:** <https://meta.discourse.org/t/discourse-github-not-posting-any-linkback/176045>\
**Category:** Support\
**Created:** [January 14, 2021, 2:04am UTC](https://meta.discourse.org/t/discourse-github-not-posting-any-linkback/176045 "2021-01-14T02:04:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![MiniRidley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/miniridley/32/101670_2.png) [@MiniRidley](https://meta.discourse.org/u/MiniRidley)\
**Post date:** [July 26, 2021, 7:25am UTC](https://meta.discourse.org/t/discourse-github-not-posting-any-linkback/176045/3 "2021-07-26T07:25:46Z")

</div>

Having a look deeper into the plugin’s code to hopefully see if there was parameters that need to be met and found the following.

```plaintext
!!(SiteSetting.github_linkback_enabled? &&
      SiteSetting.enable_discourse_github_plugin? &&
      @post.present? &&
      @post.post_type == Post.types[:regular] &&
      @post.raw =~ /github\.com/ &&
      Guardian.new.can_see?(@post) &&
      @post.topic.visible?)

```

Now I don’t know all the variables but the post.topic.visible would that mean it needs to be in a public category for it to be linked back? My first couple of attempts where in categories that were only visible to the moderators that didn’t seem to work, is that a possible reason it didn’t work or through an error?

Any insight on the other parameters/requirements would be much appreciated.

---

_[View the full topic](https://meta.discourse.org/t/discourse-github-not-posting-any-linkback/176045)._
