You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+55-4
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ use CheckRSS\RSS;
42
42
43
43
## Usage
44
44
45
-
Create a file *rssnotifier.php* in the root diretory and let's start with the RSS feed URL you want to check:
45
+
Let's see it with an example. Create a file *rssnotifier.php* in the root diretory and let's start with the RSS feed URL you want to check:
46
46
47
47
```php
48
48
define( "TIMEZONE", "Europe/Madrid" ); // Your timezone
@@ -124,7 +124,58 @@ And now, inside the foreach loop, under the *logit( "RSS", "New item found [...]
124
124
}
125
125
```
126
126
127
-
If you want to publish in your personal page instead of a fan page, you shoud use the function *post2facebookpersonalwall()*. You'll only need the parameters APP_ID, APP_SECRET and of course $linkdata.
127
+
If you want to publish in your personal page instead of a fan page, you shoud use the function *post2facebookpersonalwall()*. You'll only need to pass the parameters APP_ID, APP_SECRET and of course $linkdata.
128
+
129
+
For Twitter, first we add the definitions under the Facebook ones:
0 commit comments